Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007891OCamldocumentationpublic2019-01-02 12:312019-01-04 18:09
Reportersfuric 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version4.07.0 
Target VersionFixed in Version 
Summary0007891: Incorrect comments about NaNs
DescriptionDocumentation of module Float is wrong regarding IEEE 754 evaluation rules. It says ``any arithmetic operation with nan as argument returns nan as result'' and ``Any floating-point operation with nan as argument returns nan as result'' which is wrong, as demonstrated by OCaml itself:
-8<-----------------------------------------
        OCaml version 4.07.0
# 1.0 ** nan;;
- : float = 1.
# nan ** 0.0;;
- : float = 1.
#
-8<-----------------------------------------
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-01-02 12:31 sfuric New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker