Hi, 2013/2/13 Martin Konečný <martin.kone...@sourcefabric.org>: > Samuel, > > I'll report back with OCAML 4.00.1 results. However if that does not work, > it would be amazing to have this nofpu Liquidsoap. > > Just out of curiosity I know floating point is used to represent a wide > range of values with a relative error constant, whereas fixed point is used > to represent a much smaller range of values but with higher precision. How > would this affect Liquidsoap - is there a reason Liquidsoap was originally > written in floating point, when these instructions are so much more > expensive? Is it easier to work with Floating P in the audio domain, or is > it some other reason?
Good questions.. My 2 cents: Fixed-point arithmetic is a pain in the butt and, from the programmer point of view, it's always easier to let the compiler/CPU deal with those details. Beside, there is no standard representation for fixed-point (or fractional) numbers in C and OCaml, which means we'd have to re-implement our own arithmetic operations in both sides, which would again be a pain. Romain ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users