Added note about floating point to the reference sheet.
Peter Munch-Ellingsen peterme@peterme.net
Mon, 23 Oct 2017 11:42:58 +0200
1 files changed,
3 insertions(+),
0 deletions(-)
M
site/contents/_includes/_reference.md
→
site/contents/_includes/_reference.md
@@ -82,6 +82,9 @@ : true (boolean type).
{{f}} : false (boolean type) +#### Floating point +Floating point in computers is always problematic. Min has three constants <code>nan</code>, <code>inf</code>, and <code>ninf</code> to deal with some of the edge cases and it implements a more forgiving equality check for floating point values to avoid rounding errors. This check also allows <code>nan</code> to be compared with any other <code>nan</code> and return true. + ### Suffixes The following suffixes can be placed at the end of a value or type to indicate ordering or quantities.