Aspects

Decimal

Decimal is the name for our common base-ten numeral system

Ieee

IEEE, pronounced "Eye-triple-E," stands for the Institute of Electrical and Electronics Engineers.

Representable value binary32

Quality | Example |
---|---|

Less |
"The maximum representable value with ieee 754-2008 binary32 is so the base 2 log of a number stored in binary 32 is less than decimal 128" from question "Convert number to their log2" "The third line displays the data with the maximum useful precision - an ieee 754 64bit floating-point number has slightly less than 16 decimal digits of precision so all those digits of the literal in math.h are pointless perhaps they can be seen as future-proofing against a possible future redefinition in a format with more precision" from question "How to print a double with full precision on iOS?" |

Others

Quality | Example |
---|---|

More complex |
"Double has its ieee floating point definition which is also much more complex than decimal" from question "C# Double.ToString() performance issue" |

Slower |
"Decimal types libraries are fantastic for financial applications because we re used to dealing with the style of rounding required in financial stuff but there is the cost that they tend to be slower than ieee floating point" from question "Javascript: Precision strange behavior" |