This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

other/6201: What precision should a float have?



>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==


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]