Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, System.Decimal is fixed-point, not floating-point.


That's not true. It's floating point. https://docs.microsoft.com/en-us/dotnet/api/system.decimal?v...

> The binary representation of a Decimal value consists of a 1-bit sign, a 96-bit integer number, and a scaling factor used to divide the 96-bit integer and specify what portion of it is a decimal fraction. The scaling factor is implicitly the number 10, raised to an exponent ranging from 0 to 28




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: