Warp69 wrote:Ola ReD_MuZe - I respectfully disagree.
Please reread everything I wrote.
Maybe i don't understand what you wrote. the syntax there is hard to follow...
what i understand from what you wrote is that 32bit float has more resolution than 32bit integer, and that conversion in the working range of float (-1 to 1?) to integer will yield no loss of data?
how is that logical?
Floats lose precision only when you increase the exponent and gain precision when you decrease the exponent. Please read the links provided.
arent we talking about single precision floating point?
http://en.wikipedia.org/wiki/Single_precision
this is what 32bit floating point audio uses for recording.
this means that each "bit" reprisents a number:
23rd bit is 1.0
22nd bit is .5
21st bit is .25
and so on
so 1.75
is the 23rd, 22nt and 21st bits turned on.
which means
that the lower the number, the less bits you have for it.
since its not a linear format but an exponential one, you have more range - which means less resolution for the same range.
the following 8 bits represent the "position of the decimal point" or the range, via exponent.
the range between -1 and 1 in 32bits is what's converted to the integer portion, anything above 1 or -1 gets clipped and lost.
If you believe Im wrong then please prove me wrong

you implemented some doubt in me, perhaps i don't understand what you say.