yggdrasil/lib/runtime/libm/w_hypotf.c
Mark Poliakov 7a0d528cda Add 'lib/runtime/' from commit 'db5cddbec10c4b7c086eda716d48d4711632901f'
git-subtree-dir: lib/runtime
git-subtree-mainline: 566a2341f5b726d86f5d42a72beb9c70b83f31b6
git-subtree-split: db5cddbec10c4b7c086eda716d48d4711632901f
2024-03-12 15:54:48 +02:00

22 lines
424 B
C

#include <stdint.h>
#include "private.h"
float
hypotf(float x, float y) /* wrapper hypotf */
{
// #ifdef _IEEE_LIBM
return __ieee754_hypotf(x,y);
// #else
// float z;
// z = __ieee754_hypotf(x,y);
// if(_LIB_VERSION == _IEEE_) return z;
// if((!finitef(z))&&finitef(x)&&finitef(y))
// /* hypot overflow */
// return (float)__kernel_standard((double)x,(double)y,104);
// else
// return z;
// #endif
}