On Fri, 4 Sep 2020 17:04:34 +0000, Seymour J Metz wrote:
>Do you have a URL and page number? Is that an exact quote, or was there a
>conditional?
>
I cited the Language Ref.
>It is good form to use a constant that stands for itself, e.g., "X**2". It is
>bad form to use a constant for, e.g., an approximation, an empirical value, a
>value subject to regulatory change. The general rule is to avoid "magic
>numbers". Thus, things like PI, E, MAX_INTEREST_RATE should have names.
>
Pi will always necessarily be an approximation. c and h are exact
(for over a year now) and are extremely unlikely ever to change.
(But they may not be exactly represented in HFP or BFP.)
https://en.wikipedia.org/wiki/International_System_of_Units#Base_units
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN