all repos — min @ 1c3453383ecb5e2664164875db4f4ba0b5527d3c

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

1c3453383ecb5e2664164875db4f4ba0b5527d3c

parent

4c870f2a70467346ec77ae4085724be9c005d917

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.