Re:Compiler Warnings
by olliej on Saturday January 26, 2019 @05:16PM
(#19008879)
No floating point is exact and consistent and incredibly well defined. Floating point is not exact but neither are integers. Floating point is 100% deterministic.
Things that differ: bit wise representation for non-ieee formats. Things that don’t differ: numeric result.
Basically for any arithmetic operation, with a given significand and exponent size in some rounding mode, there is a single correct result. Different implementations do not produce different results.
Things that differ: bit wise representation for non-ieee formats. Things that don’t differ: numeric result.
Basically for any arithmetic operation, with a given significand and exponent size in some rounding mode, there is a single correct result. Different implementations do not produce different results.