Closed GoogleCodeExporter closed 8 years ago
I think we could replace all the fix16_to_xxx and fix16_from_xxx with #defines.
This way we let the compiler choose what to do. If a user decides to pass a
variable into the fix16_from_dbl() the compiler will have to keep the
conversion in the compiled program. If the user passes a number in the
compiler will optimize it away.
Original comment by joe.scha...@gmail.com
on 24 Feb 2011 at 8:04
Just done it, the same minute you posted on the issue (what are the chances of
that) :)
Original comment by Flatmush@googlemail.com
on 24 Feb 2011 at 8:06
Original comment by Flatmush@googlemail.com
on 24 Feb 2011 at 8:07
Original issue reported on code.google.com by
Flatmush@googlemail.com
on 24 Feb 2011 at 1:59