Code: Select all
? 1.1+7, 1.1+7!, 1.1+7#
? 1.1*7, 1.1*7!, 1.1*7#
? 1.1/7, 1.1/7!, 1.1/7#
8.1 8.1 8.100000023841858
7.7 7.7 7.700000166893005
0.1571428605488368 0.1571429 0.1571428605488368
So in addition and multiplication, "7" is treated as "7!". But in division, "7" is treated as "7#". Why is that? It seems to me that "7" should be treated as "7!" in division also. That's how it works in QuickBASIC/QBasic. Don't assume the denominator is known to double precision...