aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/math/number/int.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/math/number/int.lux')
-rw-r--r--stdlib/source/lux/math/number/int.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/math/number/int.lux b/stdlib/source/lux/math/number/int.lux
index e43c5eb89..b121fc216 100644
--- a/stdlib/source/lux/math/number/int.lux
+++ b/stdlib/source/lux/math/number/int.lux
@@ -226,13 +226,13 @@
(case ("lux text clip" 0 1 repr)
(^ (static ..+sign))
(|> repr
- ("lux text clip" 1 input_size)
+ ("lux text clip" 1 (dec input_size))
(\ <codec> decode)
(\ try.functor map .int))
(^ (static ..-sign))
(|> repr
- ("lux text clip" 1 input_size)
+ ("lux text clip" 1 (dec input_size))
(\ <codec> decode)
(\ try.functor map (|>> dec .int ..negate dec)))