mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
c.lib 1.172 (21.8.2004)
- acos() now returns 0 for a domain error. - asin() now returns 0 for a domain error. - atan2() now returns 0 for a domain error. - fmod() now returns x if y == 0 and sets a domain error. - sqrt() now returns 0 for a domain error. - Added NaN and +Inf constants to the math library initialization code which could come in handy later. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14713 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: math_acos.c,v 1.1.1.1 2004-07-26 16:30:37 obarthel Exp $
|
||||
* $Id: math_acos.c,v 1.2 2004-08-21 18:57:40 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -226,7 +226,7 @@ acos(double x)
|
||||
}
|
||||
else
|
||||
{
|
||||
result = HUGE_VAL;
|
||||
result = 0;
|
||||
errno = EDOM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user