[project @ 2000-07-16 21:31:36 by panne]
authorpanne <unknown>
Sun, 16 Jul 2000 21:31:36 +0000 (21:31 +0000)
committerpanne <unknown>
Sun, 16 Jul 2000 21:31:36 +0000 (21:31 +0000)
Document new -fstrictfp option

ghc/docs/users_guide/using.sgml

index 93a5a52..ba80d60 100644 (file)
@@ -2203,6 +2203,19 @@ We have not played with <Option>-fsemi-tagging</Option> enough to recommend it.
 </Para>
 </ListItem>
 </VarListEntry>
+<VarListEntry>
+<Term><Option>-fstrictfp</Option>:</Term>
+<ListItem>
+<Para>
+This option has an effect similar to Java's <Literal>strictfp</Literal>
+modifier: When it is not given, intermediate floating point values can
+have a <Emphasis>greater</Emphasis> precision/range than the final type.
+Generally this is a good thing, but some programs may rely on the exact
+precision/range of <Literal>Float</Literal>/<Literal>Double</Literal>
+values and should use this option for their compilation.
+</Para>
+</ListItem>
+</VarListEntry>
 </VariableList>
 </Para>