gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] no overflow checking ?


From: john o goyo
Subject: Re: [Gm2] no overflow checking ?
Date: Thu, 28 Apr 2011 21:07:36 -0400


On 28-Apr-11, at 12:32 PM, Fischlin Andreas wrote:

Dear Arnauld,

Modula-2's real strength is in checking at compile time as much as possible. Catching run time errors are a matter of the implementation, i.e. the code the compiler generates and has little to do with the language itself.

Unfortunately, ISO/IEC 10514-1 requires overflow exceptions to be raised if the results of infix whole number, real, or complex expressions overflow.

john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]