#e1.1 should be an exact number.
liancheng opened this issue · comments
Commit
Input
$ rsi
#e1.1
Expected output
10/11
Actual output
1.100000
Additional information
The problem lies in the function fix_exactness
and those functions that parse decimal numbers in number_reader.c
. Whenever there is a decimal dot, the number is considered to be an inexact number, despite whether there is a #e
prefix.
Fixed in d17566e