Qi Xiao
|
51e4d97568
|
interface{} -> any now that Elvish requires Go 1.18.
|
2022-03-20 16:17:19 +00:00 |
|
Qi Xiao
|
097e32b375
|
pkg/eval/vals: Add ReprPlain, Repr without pretty-printing.
Also de-export NoPretty now that it is no longer needed.
|
2021-12-31 21:05:07 +00:00 |
|
Qi Xiao
|
4afab8804b
|
Fixup for #1342.
|
2021-06-27 16:41:07 +01:00 |
|
Kurtis Rader
|
3da541c719
|
Other float64 cases that should be generalized
While pondering issue #1340 I looked at the other `case float64:`
blocks. This change generalizes the few places that need it.
Fixes #1340
|
2021-06-27 16:32:38 +01:00 |
|
Qi Xiao
|
da67ba8a4a
|
Use machine word (int) instead of int64 for fixnum.
|
2021-04-04 13:37:38 +01:00 |
|
Qi Xiao
|
4612b58759
|
Support exact integer and rational numbers.
|
2021-04-04 00:58:53 +01:00 |
|
Qi Xiao
|
0d58fea6fd
|
pkg/eval/vals: Further refine the float printing algorithm.
This fixes #811 (for real).
|
2020-01-12 11:11:47 -05:00 |
|
Qi Xiao
|
9ad6eba476
|
pkg/eval/vals: Print floats with exponents between -4 and 13 with %f.
This fixes #811.
|
2020-01-12 10:28:31 -05:00 |
|
Qi Xiao
|
e45fdf7228
|
Move all libraries to new pkg/.
|
2019-12-23 20:00:59 +00:00 |
|