Page 1 of 1

Support for IEEE 754-2008 Decimal Type

Posted: Sun Dec 27, 2009 5:16 am
by 54616E6E6572
Ok, so I am adding support for the Decimal32, Decimal64, & Decimal128 bit formats to my OS. The issue is, that I cannot for the life of me, find any reference code for converting an Integer to the Decimal Type. Any pointers on where to look, or how to implement such code would be greatly appreciated. Mathematical formulas are a bonus!