Doubles and zero/negative zero
From: Christopher Benson-Manica (ataru_at_nospam.cyberspace.org)
Date: 06/30/04
- Next message: Keith Thompson: "Re: Typecasting in C"
- Previous message: Eric Sosman: "Re: memcpy() vs. for() performance"
- Next in thread: P.J. Plauger: "Re: Doubles and zero/negative zero"
- Reply: P.J. Plauger: "Re: Doubles and zero/negative zero"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 18:27:47 +0000 (UTC)
How does one determine whether a double is equal to -0.0000...? Will
fabs() from math.h return 0.000... on -0.0000...?
-- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
- Next message: Keith Thompson: "Re: Typecasting in C"
- Previous message: Eric Sosman: "Re: memcpy() vs. for() performance"
- Next in thread: P.J. Plauger: "Re: Doubles and zero/negative zero"
- Reply: P.J. Plauger: "Re: Doubles and zero/negative zero"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]