← Back to context Comment by djmips 3 months ago Does it have native fixed point types? 7 comments djmips Reply lerno 3 months ago No, there is an incomplete proposal for it here though: https://github.com/c3lang/c3c/issues/1451What would you like to use it for? djmips 3 months ago I find it useful in lower powered systems without floating point hardware. It may be a feature whose time has passed but it still seems like there's both a case for it and probably an elegant design waiting.Imagine using it on a 6809 system for example. :) lerno 3 months ago You could still do it as a userland feature and implement add/sub/mult/div as methods on the type. 3 replies → lerno 3 months ago BTW decimal fixed point or binary fixed point?
lerno 3 months ago No, there is an incomplete proposal for it here though: https://github.com/c3lang/c3c/issues/1451What would you like to use it for? djmips 3 months ago I find it useful in lower powered systems without floating point hardware. It may be a feature whose time has passed but it still seems like there's both a case for it and probably an elegant design waiting.Imagine using it on a 6809 system for example. :) lerno 3 months ago You could still do it as a userland feature and implement add/sub/mult/div as methods on the type. 3 replies →
djmips 3 months ago I find it useful in lower powered systems without floating point hardware. It may be a feature whose time has passed but it still seems like there's both a case for it and probably an elegant design waiting.Imagine using it on a 6809 system for example. :) lerno 3 months ago You could still do it as a userland feature and implement add/sub/mult/div as methods on the type. 3 replies →
lerno 3 months ago You could still do it as a userland feature and implement add/sub/mult/div as methods on the type. 3 replies →
No, there is an incomplete proposal for it here though: https://github.com/c3lang/c3c/issues/1451
What would you like to use it for?
I find it useful in lower powered systems without floating point hardware. It may be a feature whose time has passed but it still seems like there's both a case for it and probably an elegant design waiting.
Imagine using it on a 6809 system for example. :)
You could still do it as a userland feature and implement add/sub/mult/div as methods on the type.
3 replies →
BTW decimal fixed point or binary fixed point?