summaryrefslogtreecommitdiff
path: root/integrationtests/cli_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-11 20:53:58 +0300
committerPaul Buetow <paul@buetow.org>2026-04-11 20:53:58 +0300
commit4465f7abdc72887a422b2ddd9afc43ee811b2e9b (patch)
tree98182a806c34607810c97d832b1d0b3f2766267b /integrationtests/cli_test.go
parentead2412b0f0d23b2cfc3b265a3dae8841f8c84f7 (diff)
Refactor number.go to return errors instead of panicking
- Changed Number interface methods to return errors instead of panicking - Float64() now returns (float64, error) - Add, Sub, Mul, Pow, Compare, Bool() now return (Number, error) or (int, error) - StringNum and Symbol now return errors for unsupported operations - Added IsString() and IsSymbol() to Number interface - Removed unused arithmetic.go file - Updated operations.go, boolean_ops.go, hyper.go to handle errors - Added constants registry (internal/rpn/constants.go) with built-in math constants - Added constants_test.go with comprehensive unit tests - Updated README.md with constants documentation
Diffstat (limited to 'integrationtests/cli_test.go')
0 files changed, 0 insertions, 0 deletions