|
|
|
|
|
by mota7
2182 days ago
|
|
'half' is ambiguous here: They lose 1 bit of expressiveness for the mantissa, and 1 bit in the exponent, giving an efficiency loss of 2 bits from 32 == ~3%. So there's very little loss in using single-precision floating point, and a lot of gains in smoothly handling larger numbers that arise from addition et al. edit: I'm half wrong. The bit in mantissa isn't wasted, the only bit that's wasted in the sign bit in the exponent, so the efficiency loss is ~1.5% |
|