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

- Ported cosf(), coshf(), sinf(), sinhf(), tanf(), tanhf()

and hypotf() for C99.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14964 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-30 08:10:41 +00:00
parent 3c220c3939
commit 3975d234bd
19 changed files with 1042 additions and 80 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: math_atan2f.c,v 1.2 2005-05-29 14:45:29 obarthel Exp $
* $Id: math_atan2f.c,v 1.3 2005-05-30 08:10:37 obarthel Exp $
*
* :ts=4
*
@ -125,7 +125,7 @@ atan2f(float y, float x)
switch (m) {
case 0: return z ; /* atan(+,+) */
case 1: {
__uint32_t zh;
ULONG zh;
GET_FLOAT_WORD(zh,z);
SET_FLOAT_WORD(z,zh ^ 0x80000000U);
}