[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Interesting Float to Fraction conversion
From: |
J Pfersich |
Subject: |
[Help-smalltalk] Interesting Float to Fraction conversion |
Date: |
Wed, 25 Oct 2006 00:14:27 -0600 |
I got this with 2.2 when trying to convert a float to a fraction:
st> 1.14474205677314q-13 asFraction printNl !
0/1
Fraction new "<0x10eb4a0>"
st> 1.14474205677314q-9 asFraction printNl !
1/873559239
Fraction new "<0x10eb648>"
st> 1.14474205677314q-10 asFraction printNl !
1/8735592390
Fraction new "<0x10eb958>"
st> 1.14474205677314q-11 asFraction printNl !
1/87355923902
Fraction new "<0x10ebca0>"
st> 1.14474205677314q-12 asFraction printNl !
1/873559239029
Fraction new "<0x10ec068>"
st> 1.14474205677314q-13 asFraction printNl !
0/1
Fraction new "<0x10ec2e0>"
- [Help-smalltalk] Interesting Float to Fraction conversion,
J Pfersich <=