version 1.7, 1997/10/09 11:35:39 |
version 1.8, 1999/07/02 15:37:44 |
|
|
* |
* |
* Developed at SunPro, a Sun Microsystems, Inc. business. |
* Developed at SunPro, a Sun Microsystems, Inc. business. |
* Permission to use, copy, modify, and distribute this |
* Permission to use, copy, modify, and distribute this |
* software is freely granted, provided that this notice |
* software is freely granted, provided that this notice |
* is preserved. |
* is preserved. |
* ==================================================== |
* ==================================================== |
*/ |
*/ |
|
|
__RCSID("$NetBSD$"); |
__RCSID("$NetBSD$"); |
#endif |
#endif |
|
|
/* |
/* |
* wrapper log10(X) |
* wrapper log10(X) |
*/ |
*/ |
|
|
Line 39 __RCSID("$NetBSD$"); |
|
Line 39 __RCSID("$NetBSD$"); |
|
if(x<=0.0) { |
if(x<=0.0) { |
if(x==0.0) |
if(x==0.0) |
return __kernel_standard(x,x,18); /* log10(0) */ |
return __kernel_standard(x,x,18); /* log10(0) */ |
else |
else |
return __kernel_standard(x,x,19); /* log10(x<0) */ |
return __kernel_standard(x,x,19); /* log10(x<0) */ |
} else |
} else |
return z; |
return z; |