diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 17:57:54 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 17:57:54 +0200 |
| commit | a3d3b676796f93f41f5b44b1d2b86b15f99080a0 (patch) | |
| tree | f8d6182cf95ca3816f9bbba251db0ce1ef77a802 /internal/repl | |
| parent | 31353ea7a3cb2f5ec5d14adcfaff840222185ae7 (diff) | |
Fix Ln operation and add comprehensive tests
- Fixed Ln operation to handle Value conversion before math.Log using Float64() which handles boolean conversion (true → 1, false → 0)
- Added TestLnWithBoolean and TestLnEdgeCases tests for comprehensive coverage
- Refactored operations.go into separate files (arithmetic.go, boolean_ops.go, hyper.go, stack.go, variable.go)
- Removed unused toNumber function from number.go
- Added Float64() method to Value struct for boolean conversion
Diffstat (limited to 'internal/repl')
0 files changed, 0 insertions, 0 deletions
