New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
classify_float #8417
Comments
Comment author: administrator On Sat, Dec 20, 2003 at 12:43:25PM +0100, Xavier Leroy wrote:
x86, glibc 2.2.5, gcc 3.3.2. I've discovered that while the C library does -- |
Comment author: administrator
Works fine here (Linux RH 9 / x86). Normally, classify_float is a thin Could you please provide more details on your environment (especially
|
Comment author: administrator On Sat, Dec 20, 2003 at 12:43:25PM +0100, Xavier Leroy wrote:
I've had a chance to do some more testing, and discovered that the casts in union { -- |
Comment author: administrator Fixed as suggested 2004-01-09 by XL. |
Original bug ID: 1982
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Shawn Wagner
Version: 3.07+2
OS: linux
Submission from: dialup-67.75.211.174.dial1.seattle.level3.net (67.75.211.174)
classify_float appears to be broken, always returning FP_subnormal no matter the
number it's called on. Witness:
[shawnw@sherlock shawnw]$ ocaml
Objective Caml version 3.07+2
classify_float 0.0;;
classify_float 1.0;;
classify_float infinity;;
classify_float nan;;
classify_float 1e25;;
The text was updated successfully, but these errors were encountered: