Floating point is different for each platform. The test... well it is likely to not be exact. On Aug 3, 2009, at 9:31 PM, Ross M. wrote: > Public bug reported: > > differences in precision are causing func_math test to fail. > log(3,9) is > expecting exactly 2, but on freebsd gets 2.0000000000000004440892. > > a simple program doing log(9) / log(3) produces the following on > linux, and > freebsd: > > animal$ uname -a > Linux animal 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 > UTC 2009 x86_64 GNU/Linux > animal$ ./log > 2.1972245773362195642164 / 1.0986122886681097821082 = > 2.0000000000000000000000 > > rowlf$ uname -a > FreeBSD rowlf.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 > 08:58:24 UTC 2009