Ticket #1647 (closed bug: fixed)
Constant folding on num type
Reported by: | grom | Owned by: | plobsing |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | imcc | Version: | 2.3.0 |
Severity: | medium | Keywords: | constant folding |
Cc: | Language: | ||
Patch status: | Platform: |
Description
grom@home$ cat t.pir .sub "main" .const num DAYS_PER_YEAR = 365.24 $N0 = 2.96460137564761618e-03 * DAYS_PER_YEAR say $N0 $N1 = DAYS_PER_YEAR * 2.96460137564761618e-03 say $N1 $N2 = 2.96460137564761618e-03 say $N2 $N3 = DAYS_PER_YEAR say $N3 .end grom@home$ parrot t.pir 0 0 0.00296460137564762 365.24
Attachments
Change History
Note: See
TracTickets for help on using
tickets.