Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>
*** 31,45 ****
#define restrict _Restrict
#else
#define restrict
#endif
- #include "libm_synonyms.h"
#include "libm_inlines.h"
- #define sqrtf __sqrtf
-
extern float sqrtf(float);
void
__vsqrtf(int n, float * restrict x, int stridex, float * restrict y, int stridey)
{
--- 31,42 ----
*** 48,53 ****
*y = sqrtf(*x);
x += stridex;
y += stridey;
}
}
-
--- 45,49 ----