sanchahar / speedcrunch

Automatically exported from code.google.com/p/speedcrunch
1 stars 0 forks source link

floor and ceil rounding errors #532

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
log(2;128) = 7
ceil(log(2;128)) = 8

1/3*3 = 1
floor(1/3*3) = 0

Original issue reported on code.google.com by helder.p...@gmail.com on 19 Oct 2014 at 10:55

GoogleCodeExporter commented 8 years ago
Observation:
ceil(lb(128)) = 7
ceil(log(2;128)) = 8

Original comment by helder.p...@gmail.com on 19 Oct 2014 at 11:21

GoogleCodeExporter commented 8 years ago

Original comment by helder.p...@gmail.com on 28 Nov 2014 at 5:18