summaryrefslogtreecommitdiffstats
path: root/lib/libm/noieee_src/n_exp__E.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-07-18 13:08:58 +0000
committermartynas <martynas@openbsd.org>2008-07-18 13:08:58 +0000
commitc6438c483a04ae68a2ce4452b03c5c20e775d881 (patch)
tree69b0f6e365be54d8fdbd8c310733dc6c2fe64739 /lib/libm/noieee_src/n_exp__E.c
parentmerge host_v6 with relayd's version to use getaddrinfo instead of (diff)
downloadwireguard-openbsd-c6438c483a04ae68a2ce4452b03c5c20e775d881.tar.xz
wireguard-openbsd-c6438c483a04ae68a2ce4452b03c5c20e775d881.zip
fix cases, found by lint:
- actually raise inexacts for expm1, and support - __exp__E always returns, because inexact check always succeeds. add NOTREACHED - some cases in lgamma FALLTHROUGH, as intended ok millert@
Diffstat (limited to 'lib/libm/noieee_src/n_exp__E.c')
-rw-r--r--lib/libm/noieee_src/n_exp__E.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libm/noieee_src/n_exp__E.c b/lib/libm/noieee_src/n_exp__E.c
index 9fd13ada83a..5f7e799bff7 100644
--- a/lib/libm/noieee_src/n_exp__E.c
+++ b/lib/libm/noieee_src/n_exp__E.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: n_exp__E.c,v 1.7 2008/07/17 15:36:28 martynas Exp $ */
+/* $OpenBSD: n_exp__E.c,v 1.8 2008/07/18 13:08:58 martynas Exp $ */
/* $NetBSD: n_exp__E.c,v 1.1 1995/10/10 23:36:45 ragge Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -136,4 +136,6 @@ __exp__E(double x, double c)
else
return(copysign(zero,x));
}
+
+ /* NOTREACHED */
}