This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/6201: What precision should a float have?
- From: albie at alfarrabio dot di dot uminho dot pt
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Apr 2002 11:13:46 -0000
- Subject: other/6201: What precision should a float have?
- Reply-to: albie at alfarrabio dot di dot uminho dot pt
>Number: 6201
>Category: other
>Synopsis: What precision should a float have?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 06 03:16:04 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Alberto Simões
>Release: gcc 3.0.3
>Organization:
>Environment:
Slackware
>Description:
a variable with 1.4 compared with a literal 1.4...
>How-To-Repeat:
compile. At the scanf write 1.4... it should say that it is less than 1.4...
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="main.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="main.c"
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgoJZmxvYXQgeDsKCXNjYW5mKCIl
ZiIsJngpOwoJcHJpbnRmKCIlZlxuIix4KTsKCWlmICh4IDwgMS40KSB7CgkJcHJpbnRmKCJMZXNz
XG4iKTsKCX0gZWxzZSB7CgkJcHJpbnRmKCJHcmVhdGVyXG4iKTsKCX0KCXJldHVybiAwOwp9Cg==