diff options
Diffstat (limited to 'const.go')
| -rw-r--r-- | const.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ func parseConstant(s string) *float64 { // Assign to variable because can't take address of constant. var pi float64 = math.Pi return &pi + case "e": + var e float64 = math.E + return &e } return nil } |