| Anonymous | Login | Signup for a new account | 2013-05-25 00:14 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0004804 | OCaml | OCaml general | public | 2009-05-22 21:55 | 2009-05-24 21:50 | |||
| Reporter | davidgay | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.11.0 | |||||||
| Target Version | Fixed in Version | 3.11.1+dev | ||||||
| Summary | 0004804: int64_of_big_int fails on negative values that fit in 32-bits | |||||||
| Description | The following code: open Big_int let x = minus_big_int (power_int_positive_int 2 31) let y = int64_of_big_int x ;; Printf.printf "%s %Ld\n" (string_of_big_int x) y produces $ ocaml nums.cma foo.ml Exception: Failure "int64_of_big_int". | |||||||
| Additional Information | Seems to affect values between -2^31 and -2^32 | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0004967) xleroy (administrator) 2009-05-24 21:49 |
Fixed in 3.11 bugfix branch. Will go in 3.11.1. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-05-22 21:55 | davidgay | New Issue | |
| 2009-05-24 21:49 | xleroy | Note Added: 0004967 | |
| 2009-05-24 21:49 | xleroy | Status | new => closed |
| 2009-05-24 21:49 | xleroy | Resolution | open => fixed |
| 2009-05-24 21:49 | xleroy | Fixed in Version | => 3.11.1+dev |
| Copyright © 2000 - 2011 MantisBT Group |