Opened 15 years ago
Closed 15 years ago
#304 closed defect (fixed)
SINDARIN: 10^10 = 1410065408
Reported by: | ohl | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | v2.0.2 |
Component: | core | Version: | 2.0.0 |
Severity: | normal | Keywords: | sindarin |
Cc: |
Description
While this is technically correct for 32bit integers, it is also extremely non-intuitive for our users, who might expect
real xsect = 3.14159 * 1013
to work ...
I don't think that we should insist on FORTRAN semantics here ...
(reported by Felix Keller)
Note: See
TracTickets for help on using
tickets.
I implemented warnings for this kind of issue in r2369 and also used the opportunity to catch division by zero in all-integer "" and "/" expressions.