Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

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 / Ada 2012, Development Log