aboutsummaryrefslogtreecommitdiffstats
path: root/test/mpfrrem.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-05 17:38:37 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-05 17:38:37 +0300
commiteafb7b72c2b6095cba51a77f5f7a5240a658c55c (patch)
tree4b60eb71ac37bb58d3137d42442572e3e6288107 /test/mpfrrem.ok
parent2aff045eb07d96c572242287487450f1d9acc5fe (diff)
downloadegawk-eafb7b72c2b6095cba51a77f5f7a5240a658c55c.tar.gz
egawk-eafb7b72c2b6095cba51a77f5f7a5240a658c55c.tar.bz2
egawk-eafb7b72c2b6095cba51a77f5f7a5240a658c55c.zip
Bug fix to MPFR mod operation for negative numerator.
Diffstat (limited to 'test/mpfrrem.ok')
-rw-r--r--test/mpfrrem.ok4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mpfrrem.ok b/test/mpfrrem.ok
new file mode 100644
index 00000000..91010457
--- /dev/null
+++ b/test/mpfrrem.ok
@@ -0,0 +1,4 @@
+15 % 7 = 1
+15 % -7 = 1
+-15 % 7 = -1
+-15 % -7 = -1