1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added C99 checks to "complex_headers.h".

- No longer uses a local copysign() function in "math_kernel_scalbn.c".

- Fixed an assignment which actually came out as a comparison in "stdio_vfscanf.c".


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14946 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-12 14:50:06 +00:00
parent c5087c78ce
commit d0a4e057bc
3 changed files with 5 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: math_kernel_scalbn.c,v 1.3 2005-02-25 10:14:21 obarthel Exp $
* $Id: math_kernel_scalbn.c,v 1.4 2005-05-12 14:50:06 obarthel Exp $
*
* :ts=4
*
@ -50,17 +50,6 @@
/****************************************************************************/
INLINE STATIC double copysign(double x, double y)
{
unsigned int hx,hy;
GET_HIGH_WORD(hx,x);
GET_HIGH_WORD(hy,y);
SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
return x;
}
static const double
huge = 1.0e+300,
tiny = 1.0e-300,