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

21 lines
419 B
C

#include <stdint.h>
#include "private.h"
float
fmodf(float x, float y) /* wrapper fmodf */
{
// #ifdef _IEEE_LIBM
return __ieee754_fmodf(x,y);
// #else
// float z;
// z = __ieee754_fmodf(x,y);
// if(_LIB_VERSION == _IEEE_ ||isnanf(y)||isnanf(x)) return z;
// if(y==(float)0.0) {
// /* fmodf(x,0) */
// return (float)__kernel_standard((double)x,(double)y,127);
// } else
// return z;
// #endif
}