Hi Joe,
The display of large numbers gets truncated at the first 30 digits. No dot, no exponent etc. Seems like a bug to me.
For example:
MiniScript
Command-Line (Linux) v1; language v1.5 (Mar 22 2020)
a=1e100
print a
1000000000000000015902891109759
The expected result would be 1 with 100 zero's, or 1e100.
Since log(a) returns 100, it may be a bug in the conversion routine from number to string for the print routine, just guessing.
If I would convert a value to a string, then convert the same string back to a value, the result is not correct.
Example:
a=1e100
b=val(a)
print a
1000000000000000015902891109759
print b
1000000000000000015902891109759
print log(a)
100
print log(b)
100
c=str(a)
print c
1000000000000000015902891109759
d=log(val(c))
print d
30.0
Kind regards,
Peter