Floating point Info V3
Posted: Thu Sep 17, 2009 8:17 pm
Hi
I have followed the example on using floating point maths with V3
and with a bit of fiddling on my own got my program to run ok.
However I cannot seem to find any reference to the functions
that describes the operation thereof, or a list of the functions
available! I have looked at boostC manual etc and there is no
information about these functions. One particular function
that i need clarification on is:
FCV_VAR = float32_to_int32_round_to_zero(varx)
Does the round to zero simply discard the real part and return the whole part
of the calculation or does it actually round off the real part and increase or
leave alone the whole part of the answer? (this may have an effect on accuracy
of my calcs).
Also what is the most recent update on Flowcode V3? I have seen reference to a version
3.6xx somewhere here on the forums.....
Ben, Steve / anyone know?
Mark
I have followed the example on using floating point maths with V3
and with a bit of fiddling on my own got my program to run ok.
However I cannot seem to find any reference to the functions
that describes the operation thereof, or a list of the functions
available! I have looked at boostC manual etc and there is no
information about these functions. One particular function
that i need clarification on is:
FCV_VAR = float32_to_int32_round_to_zero(varx)
Does the round to zero simply discard the real part and return the whole part
of the calculation or does it actually round off the real part and increase or
leave alone the whole part of the answer? (this may have an effect on accuracy
of my calcs).
Also what is the most recent update on Flowcode V3? I have seen reference to a version
3.6xx somewhere here on the forums.....
Ben, Steve / anyone know?
Mark