diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 16:50:34 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 16:50:34 +0200 |
| commit | 1431c9ee101642182cc1a8f684e861079825bbce (patch) | |
| tree | 4a85abb849880991c816c1691018ed5ed119150b | |
| parent | d5287f36288d40fb54384ad259984e6382e63d09 (diff) | |
refactor: toNumber function already exists and is used by all operators
- toNumber(v Value) float64 maps true→1, false→0, numbers unchanged
- All arithmetic operators (Add, Subtract, Multiply, Divide, Power, Modulo) use toNumber
- Also used in all Hyper* operators and comparisons
No code changes needed - implementation was completed in earlier refactoring.
0 files changed, 0 insertions, 0 deletions
