Support for IEEE 754-2008 Decimal Type

Programming, for all ages and all languages.
Post Reply
User avatar
54616E6E6572
Member
Member
Posts: 47
Joined: Tue Aug 18, 2009 12:52 pm
Location: Kansas City

Support for IEEE 754-2008 Decimal Type

Post 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!
The 2nd Doctor: "I have no doubt that you could augment an earwig to the point where it could understand nuclear physics, but it would still be a very stupid thing to do!"
Post Reply