This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: About libc
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Shrikar" <shrikar at poseidontech dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 08 May 2002 09:45:55 -0700
- Subject: Re: About libc
- References: <003e01c1f665$376ffb20$1301a8c0@blr.vsnl.net.in>
"Shrikar" <shrikar@poseidontech.com> writes:
> I have got a small doubt regarding glibc.
> For floating point arithemtic, does glibc follows IEEE standard on all
> platforms ( platform idepedent ) ?
> More precisely If I have got a non IEEE floating point target or target
> doesnt support floating point arithmatic then glibc will insure that all
> flaoting point arithmatic is according to ieee 754/854 standard or not ?
Why ask on the binutils list? I recommend that you ask on the glibc
list.
I suspect that the answer is no for a target which uses non-IEEE
floating point. I doubt that glibc provides IEEE multiplication and
division routines on non-IEEE targets. On a target with no floating
point support at all, gcc will normally provide IEEE compliant
arithmetic routines, so glibc will be IEEE compliant.
Ian