Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > representational error in C

Reply
Thread Tools

representational error in C

 
 
Jack Klein
Guest
Posts: n/a
 
      03-12-2006
On 11 Mar 2006 19:42:52 GMT, Jordan Abel <(E-Mail Removed)> wrote
in comp.lang.c:

> On 2006-03-11, Walter Roberson <(E-Mail Removed)-cnrc.gc.ca> wrote:
> > In article <(E-Mail Removed) .com>,
> > Me <(E-Mail Removed)> wrote:
> >>(I'm going to assume your computer uses IEEE-754 floats, so FLT_RADIX
> >>== 2)

> >
> >>Since IEEE-754/FLT_RADIX==2 floats are pretty
> >>much a defacto standard for C

> >
> > There are quite a few widespread IEEE-754 systems that use FLT_RADIX=16
> > or FLT_RADIX=4, so I would say that FLT_RADIX=2 is *not* a defacto
> > standard for C.

>
> Just because some systems deviate from it doesn't mean it's not a de
> facto standard. [Is this really IEEE 754? I thought "IEEE 754" meant a
> system matching the 'ideal' of the Intel 387, which, i've read, is what
> the IEEE standard is based on.]


Sigh.

The original IEEE 754 and 854 formats were based in large part on the
Intel 8087, which existed half a decade or so before the 387 did.

But since Intel released the part before standardization was complete,
the 8087 does not completely conform to the final standard in a few
areas.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xffc Thread 0x228 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-30-2006 03:16 PM
Error connecting to SQLExpress 2005 locally (error: 26 - Error Locating Server/Instance Specified) hfk0 ASP .Net 2 03-27-2006 08:43 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
Error 500: ERROR: Cannot forward. Writer or Stream already obtained. Error JavaQueries Java 1 03-01-2005 06:30 PM



Advertisments