Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Approximate-equality/Factor/approximate-equality.factor
Normal file
13
Task/Approximate-equality/Factor/approximate-equality.factor
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
USING: formatting generalizations kernel math math.functions ;
|
||||
|
||||
100000000000000.01 100000000000000.011
|
||||
100.01 100.011
|
||||
10000000000000.001 10000.0 /f 1000000000.0000001000
|
||||
0.001 0.0010000001
|
||||
0.000000000000000000000101 0.0
|
||||
2 sqrt dup * 2.0
|
||||
2 sqrt dup neg * -2.0
|
||||
3.14159265358979323846 3.14159265358979324
|
||||
|
||||
[ 2dup -1e-15 ~ "%+47.30f %+47.30f -1e-15 ~ : %u\n" printf ]
|
||||
2 8 mnapply
|
||||
Loading…
Add table
Add a link
Reference in a new issue