whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 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)

Change History (1)

comment:1 Changed 14 years ago by Christian Speckner

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.