The expression 4.57+.(4.34+.4.44)
should evaluate like this 4.34+.4.44 0.02 4.57+.0.02 0.01 but it does evaluate to 5.39568e_12 which is a useless and incorrect result. = is tolerant, why isn't +. ? Thanks. Bo. Den fredag den 15. maj 2020 16.24.10 CEST skrev Henry Rich <henryhr...@gmail.com>: What's wrong with it? 0j19 ": 4.57 4.34 4.44 4.5700000000000002842 4.3399999999999998579 4.4400000000000003908 Henry Rich On 5/15/2020 10:17 AM, 'Bo Jacoby' via Programming wrote: > +./4.57 4.34 4.44 > 5.39568e_12 > > NB. this was not the correct answer. A bug? > > +./x:4.57 4.34 4.44 > > 1r100 > > NB. this was a work-around > Thanks! > Bo. > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- This email has been checked for viruses by AVG. https://www.avg.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm