l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Jun 07 13:30

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] C and IEEE-754
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] C and IEEE-754

On Wed, Jun 07, 2006 at 03:41:02PM -0400, Peter Jay Salzman wrote:
> I started to read:
>    http://www.cs.princeton.edu/introcs/91float/
> and came across an interesting comment:
>    "Java uses a subset of the IEEE 754 binary floating point standard to
>    represent floating point numbers and define the results of arithmetic
>    operations. Most machines conform to this standard, although some
>    languages (C, C++) do not guarantee that this is the case."
> It's a poorly written paragraph, but seems to say that C and C++ don't
> guarantee adherence to the IEEE 754 standard.  If this really is the case,
> why don't they?

I suppose if your hardware supports something else instead of
IEEE-754, then a conforming C/C++ implementation can use the hardware,
rather than having to emulate IEEE-754.

--Ken Bloom

I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.