all repos — min @ b02204c0db830ff52f8dd4620d064ca97413ed58

A small but practical concatenative programming language.

Added note about floating point to the reference sheet.
Peter Munch-Ellingsen peterme@peterme.net
Mon, 23 Oct 2017 11:42:58 +0200
commit

b02204c0db830ff52f8dd4620d064ca97413ed58

parent

2e3bd46d2647b3d1024415fa0f8d8819c1580b48

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M site/contents/_includes/_reference.mdsite/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.