diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libc/ieeefp/inf/inf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/regress/lib/libc/ieeefp/inf/inf.c b/src/regress/lib/libc/ieeefp/inf/inf.c index 32f6c2ce80..b6116b0df1 100644 --- a/src/regress/lib/libc/ieeefp/inf/inf.c +++ b/src/regress/lib/libc/ieeefp/inf/inf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inf.c,v 1.1 2002/02/16 17:22:16 pvalchev Exp $ */ | 1 | /* $OpenBSD: inf.c,v 1.2 2002/02/18 11:24:13 art Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Peter Valchev <pvalchev@openbsd.org> Public Domain, 2002. | 4 | * Peter Valchev <pvalchev@openbsd.org> Public Domain, 2002. |
@@ -7,7 +7,10 @@ | |||
7 | #include <math.h> | 7 | #include <math.h> |
8 | 8 | ||
9 | int | 9 | int |
10 | main() { | 10 | main() |
11 | { | ||
11 | if (isinf(HUGE_VAL)) | 12 | if (isinf(HUGE_VAL)) |
12 | return 0; | 13 | return 0; |
14 | |||
15 | return 1; | ||
13 | } | 16 | } |