summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-02-03 07:58:31 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-02-03 07:58:31 +0100
commit4e0b3fefa3f7d09762404667dbe94558d65868fb (patch)
treed88ea7fa92ce3aca0545bfa2fbda901ec36e8691 /doc
parent992fd38487afc706d3271beda8189dadfca53592 (diff)
parent4f9ae61695bc7a03b15a8d26ee1e702582db76af (diff)
downloadNim-4e0b3fefa3f7d09762404667dbe94558d65868fb.tar.gz
Merge branch 'devel' into araq-overloading-symmetry
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/types.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/types.txt b/doc/manual/types.txt
index 1477995dd..8a90dee05 100644
--- a/doc/manual/types.txt
+++ b/doc/manual/types.txt
@@ -181,11 +181,11 @@ Nim exceptions: `FloatInvalidOpError`:idx:, `FloatDivByZeroError`:idx:,
 and `FloatInexactError`:idx:.
 These exceptions inherit from the `FloatingPointError`:idx: base class.
 
-Nim provides the pragmas `NaNChecks`:idx: and `InfChecks`:idx: to control
+Nim provides the pragmas `nanChecks`:idx: and `infChecks`:idx: to control
 whether the IEEE exceptions are ignored or trap a Nim exception:
 
 .. code-block:: nim
-  {.NanChecks: on, InfChecks: on.}
+  {.nanChecks: on, infChecks: on.}
   var a = 1.0
   var b = 0.0
   echo b / b # raises FloatInvalidOpError
@@ -195,7 +195,7 @@ In the current implementation ``FloatDivByZeroError`` and ``FloatInexactError``
 are never raised. ``FloatOverflowError`` is raised instead of
 ``FloatDivByZeroError``.
 There is also a `floatChecks`:idx: pragma that is a short-cut for the
-combination of ``NaNChecks`` and ``InfChecks`` pragmas. ``floatChecks`` are
+combination of ``nanChecks`` and ``infChecks`` pragmas. ``floatChecks`` are
 turned off as default.
 
 The only operations that are affected by the ``floatChecks`` pragma are
>165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257