| Anonymous | Login | Signup for a new account | 2013-05-25 20:55 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 | ||||||
| 0003582 | OCaml | OCaml general | public | 2005-04-06 18:00 | 2008-01-22 17:04 | ||||||
| Reporter | administrator | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0003582: (1073741824 = -1073741824) is true ! | ||||||||||
| Description | Full_Name: Thomas de Grivel Version: 3.08.2 OS: debian Submission from: robinson-2-82-67-155-88.fbx.proxad.net (82.67.155.88) The integer literal 1073741824 is accepted even if it is outside the range of representable integers. In the ocaml 3.08.2 toplevel: # 1073741824;; - : int = -1073741824 # 1073741824 = -1073741824;; - : bool = true It really should fail just like it's successor : # 1073741825;; Integer literal exceeds the range of representable integers of type int | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0000254) administrator (administrator) 2005-04-17 11:09 |
See PR#3302. Obvious fix causes problems with the way integer literals are parsed. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| 2008-01-22 17:04 | doligez | Relationship added | related to 0003302 |
| Copyright © 2000 - 2011 MantisBT Group |