summaryrefslogtreecommitdiff
path: root/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'errno.c')
-rw-r--r--errno.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/errno.c b/errno.c
index b4be55501..d71c146b3 100644
--- a/errno.c
+++ b/errno.c
@@ -4,7 +4,7 @@
ONLY. THEY'RE ALMOST CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR
DISAPPEAR COMPLETELY IN FUTURE GNU MP RELEASES.
-Copyright 2000, 2001, 2003 Free Software Foundation, Inc.
+Copyright 2000, 2001, 2003, 2021 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -70,3 +70,8 @@ __gmp_divide_by_zero (void)
{
__gmp_exception (GMP_ERROR_DIVISION_BY_ZERO);
}
+void
+__gmp_overflow_in_mpz (void)
+{
+ __gmp_exception (GMP_ERROR_MPZ_OVERFLOW);
+}