diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 12:43:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 12:43:50 +0300 |
| commit | d887209a86da6cfe5d3d34b638a34f769f15ac5f (patch) | |
| tree | f102f079986f3ee8c37e4cc7342bdfd3adf2b3d4 /docs/cli-usage.md | |
| parent | 4935b8adab236e76220d2f2e06cf72857af834fa (diff) | |
rpn: eliminate duplicate ParseFloat in pushLiteral
pushLiteral called strconv.ParseFloat twice for non-RationalMode
input: once to check if token is a number, once to get the value.
Capture the parsed value from the first call to avoid redundant
parsing.
Diffstat (limited to 'docs/cli-usage.md')
0 files changed, 0 insertions, 0 deletions
