OCaml Forge
SCM

Detail: [#1381] cmp_float and infinities

Bugs: Browse | Download .csv | Monitor

[#1381] cmp_float and infinities

Date:
2014-03-23 14:26
Priority:
3
State:
Open
Submitted by:
Sergei Lebedev (superbobry)
Assigned to:
Nobody (None)
Severity:
normal
Component:
Core
Product:
OUnit library
Resolution:
None
Version:
v2.0.0
 
URL:
Status:
Open
 
Summary:
cmp_float and infinities

Detailed description
It seems that cmp_float can't handle infinities properly. Example:

# cmp_float neg_infinity neg_infinity;;
- : bool = false # cmp_float infinity infinity;;
- : bool = false

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item