Float

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Thu Aug 4 03:28:25 EDT 2016


On Sunday, July 31, 2016 at 3:21:09 PM UTC+12, Rustom Mody wrote:
> In writing Tex he went out of his way to implement his own fixed point
> system and avoid using the builtin hardware floating point
> https://en.wikipedia.org/wiki/TeX#Development
> 
> To the extent its feasible it’s advisable to follow the example of Knuth
> [No not writing your own system, but avoiding when/if possible]

This is why IEEE-854 was developed, and why Python has the Decimal type <https://docs.python.org/3/library/decimal.html>.



More information about the Python-list mailing list