Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Floating Point Standards under QNX: (2 Items)
   
Floating Point Standards under QNX  
Hi,

I would like to know what format is used for QNX floating point numbers?  I have seen that most people use IEEE 754-1985
 to represent floating point numbers, is this true as well for QNX?

Thanks.

Bob
Re: Floating Point Standards under QNX  
On Mon, Sep 29, 2008 at 09:07:03AM -0400, Robert Deschambault wrote:
> I would like to know what format is used for QNX floating point numbers?
> I have seen that most people use IEEE 754-1985 to represent floating 
> point numbers, is this true as well for QNX?

The floating point format is dictated by the FPU hardware rather than the OS.

All the systems we currently run on use the IEEE format for floating
point numbers. I rather doubt anybody would design new hardware that doesn't
use that format but you never know, someone might give us a billion dollars
to port to an IBM 370 :-).

-- 
Brian Stecher (bstecher@qnx.com)        QNX Software Systems
phone: +1 (613) 591-0931 (voice)        175 Terence Matthews Cr.
       +1 (613) 591-3579 (fax)          Kanata, Ontario, Canada K2M 1W8