From: simonmar Date: Tue, 13 Aug 2002 10:13:40 +0000 (+0000) Subject: [project @ 2002-08-13 10:13:40 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1767 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=ce3a3edbbe688b3a284d3c5508fade0eb2ff532f [project @ 2002-08-13 10:13:40 by simonmar] Update docs about not using Float. --- diff --git a/ghc/docs/users_guide/sooner.sgml b/ghc/docs/users_guide/sooner.sgml index 474b5a3..767de16 100644 --- a/ghc/docs/users_guide/sooner.sgml +++ b/ghc/docs/users_guide/sooner.sgml @@ -464,14 +464,15 @@ to compete with it, but link with it. + Don't use Floats: -We don't provide specialisations of Prelude functions for Float -(but we do for Double). If you end up executing overloaded -code, you will lose on performance, perhaps badly. - +If you're using Complex, definitely use +Complex Double rather than Complex +Float (the former is specialised heavily, but the latter +isn't). Floats (probably 32-bits) are almost always a bad idea, anyway,