News for hackers. Stuff that matters.
Re:Red Programming Language by geographomics on Saturday November 15, 2014 @09:16PM (#8613275)
The language distinguishes between equal and "strictly equal":

    red>> .1 + .2 + .3 == .6
    == false
    red>> .1 + .2 + .3 = .6
    == true
I'm not sure if that syntax is the wisest choice, but in the absence of arbitrary precision arithmetic it seems a very good concept, to avoid common IEEE-754 surprises.

They appear to be implementing it along these lines: http://randomascii.wordpress.com/2012/02/25/comparing-floati...

Re:Red Programming Language by draegtun on Sunday November 16, 2014 @06:32AM (#8614002)
It should be noted that Rebol comes with an arbitrary precision (bignum) arithmetic option via it's money! datatype - http://www.rebol.net/wiki/Money

  >> .1 + .2 + .3 
  == 0.6000000000000001
  
  >> type? 0.1    
  == decimal!
  
  >> $.1 + $.2 + $.3
  == $0.6
  
  >> type? $0.1
  == money!
Red will most likely get this soon but perhaps with a different nomenclature (Red as already renamed decimal! to float!).