Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map

Developer Center

[Ada] AI-267 Fast Float-to-Integer conversion

Saturday November 5, 2005

This AI provides a new attribute Machine_Rounding for float types, that provides similar functionality to Rounding, except that the treatment of numbers exactly mid-way between two integers can go to either near-by integer (the result is implementation defined). For now GNAT provides the same semantics for Machine_Rounding as for Rounding.

 

Posted by Posted in Ada / Ada 2005, Development Log