From 2753d49003006342e96b769422f7c50fd4093bde Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sun, 11 Jan 2015 18:50:17 -0800 Subject: 34247: regression test for 34230. --- ChangeLog | 2 ++ Test/C01arith.ztst | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a963399c3..5bbdd175a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-01-11 Barton E. Schaefer + * 34247: Test/C01arith.ztst: regression test for 34230. + * 34230: Src/math.c: call fmod() for modulo with floats 2015-01-11 Peter Stephenson diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 59d182a13..8da17f7f4 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -18,6 +18,12 @@ 0:basic floating point arithmetic >31415. + integer rnd + (( rnd = ((29.1 % 13.0 * 10) + 0.5) )) + print $rnd +0:Test floating point modulo function +>31 + print $(( 0x10 + 0X01 + 2#1010 )) 0:base input >27 -- cgit 1.4.1