Re:Exposing Floating Point
by turtledragonfly on Tuesday June 27, 2023 @09:08PM
(#36500984)
Then would it be fair to say that if you don't know what calculations might be coming, all other things being equal, 1 is a good choice since it is "unbiased" in this sense?
Re:Exposing Floating Point
by Dylan16807 on Tuesday June 27, 2023 @09:36PM
(#36501193)
It's perfectly fine, but because addition is very common it's unlikely to be optimal.
1 is special in that half the positive floats are above it and half are below. That doesn't mean your use case wants half.