Branch: Tag:

1997-12-03

1997-12-03 22:47:41 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

division now always rounds towards minus infinity (I hope)

Rev: src/operators.c:1.21
Rev: src/testsuite.in:1.62
Rev: tutorial/tutorial.wmml:1.36

1: - test_true([["$Id: testsuite.in,v 1.61 1997/11/13 22:13:29 hubbe Exp $"]]) + test_true([["$Id: testsuite.in,v 1.62 1997/12/03 22:46:18 hubbe Exp $"]])   test_eq(1e1,10.0)   test_eq(1E1,10.0)   test_eq(1e+1,10.0)
631:   test_eq(13/3,4)   test_eq(14/3,4)   test_eq(15/3,5) + test_eq(-2/4,-1)   test_eq(-12/3,-4)   test_eq(-13/3,-5)   test_eq(-14/3,-5)