summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libm/common_source/exp.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libm/common_source/exp.3 b/lib/libm/common_source/exp.3
index ae54b7f..842b72c 100644
--- a/lib/libm/common_source/exp.3
+++ b/lib/libm/common_source/exp.3
@@ -150,8 +150,9 @@ and
.Fn pow
detect if the computed value will overflow,
set the global variable
-.Va errno to
-.Er RANGE
+.Va errno
+to
+.Er ERANGE
and cause a reserved operand fault on a
.Tn VAX
or
OpenPOWER on IntegriCloud