Lines Matching defs:functions

1206 		struct functions  struct
1212 static expr plus(float x, float y) { return expr(x+y); } in plus()
1218 static expr minus(float x, float y) { return expr(x-y); } in minus()
1224 static expr multiplies(float x, float y) { return expr(x*y); } in multiplies()
1230 static expr divides(float x, float y) { return expr(x/y); } in divides()
1236 …tream<charT,traits>& write(std::basic_ostream<charT,traits> &out, float arg) { return out << arg; } in write()
1242 …its> static std::basic_istream<charT,traits>& read(std::basic_istream<charT,traits> &in, half &arg) in read()
1254 static expr fmod(float x, float y) { return expr(std::fmod(x, y)); } in fmod()
1260 static expr remainder(float x, float y) in remainder()
1291 static expr remquo(float x, float y, int *quo) in remquo()
1337 static expr fdim(float x, float y) in fdim()
1351 static expr fma(float x, float y, float z) in fma()
1362 static half nanh() { return half(binary, 0x7FFF); } in nanh()
1367 static expr exp(float arg) { return expr(std::exp(arg)); } in exp()
1372 static expr expm1(float arg) in expm1()
1384 static expr exp2(float arg) in exp2()
1396 static expr log(float arg) { return expr(std::log(arg)); } in log()
1401 static expr log10(float arg) { return expr(std::log10(arg)); } in log10()
1406 static expr log1p(float arg) in log1p()
1418 static expr log2(float arg) in log2()
1430 static expr sqrt(float arg) { return expr(std::sqrt(arg)); } in sqrt()
1435 static expr cbrt(float arg) in cbrt()
1451 static expr hypot(float x, float y) in hypot()
1465 static expr pow(float base, float exp) { return expr(std::pow(base, exp)); } in pow()
1470 static expr sin(float arg) { return expr(std::sin(arg)); } in sin()
1475 static expr cos(float arg) { return expr(std::cos(arg)); } in cos()
1480 static expr tan(float arg) { return expr(std::tan(arg)); } in tan()
1485 static expr asin(float arg) { return expr(std::asin(arg)); } in asin()
1490 static expr acos(float arg) { return expr(std::acos(arg)); } in acos()
1495 static expr atan(float arg) { return expr(std::atan(arg)); } in atan()
1501 static expr atan2(float x, float y) { return expr(std::atan2(x, y)); } in atan2()
1506 static expr sinh(float arg) { return expr(std::sinh(arg)); } in sinh()
1511 static expr cosh(float arg) { return expr(std::cosh(arg)); } in cosh()
1516 static expr tanh(float arg) { return expr(std::tanh(arg)); } in tanh()
1521 static expr asinh(float arg) in asinh()
1533 static expr acosh(float arg) in acosh()
1545 static expr atanh(float arg) in atanh()
1557 static expr erf(float arg) in erf()
1569 static expr erfc(float arg) in erfc()
1581 static expr lgamma(float arg) in lgamma()
1603 static expr tgamma(float arg) in tgamma()
1627 …alf floor(half arg) { return half(binary, round_half<std::round_toward_neg_infinity>(arg.data_)); } in floor()
1632 …tic half ceil(half arg) { return half(binary, round_half<std::round_toward_infinity>(arg.data_)); } in ceil()
1637 …static half trunc(half arg) { return half(binary, round_half<std::round_toward_zero>(arg.data_)); } in trunc()
1642 static half round(half arg) { return half(binary, round_half_up(arg.data_)); } in round()
1647 static long lround(half arg) { return detail::half2int_up<long>(arg.data_); } in lround()
1652 static half rint(half arg) { return half(binary, round_half<half::round_style>(arg.data_)); } in rint()
1657 static long lrint(half arg) { return detail::half2int<half::round_style,long>(arg.data_); } in lrint()
1663 static long long llround(half arg) { return detail::half2int_up<long long>(arg.data_); } in llround()
1668 …tic long long llrint(half arg) { return detail::half2int<half::round_style,long long>(arg.data_); } in llrint()
1675 static half frexp(half arg, int *exp) in frexp()
1688 static half modf(half arg, half *iptr) in modf()
1708 static half scalbln(half arg, long exp) in scalbln()
1755 static int ilogb(half arg) in ilogb()
1775 static half logb(half arg) in logb()
1803 static half nextafter(half from, half to) in nextafter()
1821 static half nexttoward(half from, long double to) in nexttoward()
1837 static half copysign(half x, half y) { return half(binary, x.data_^((x.data_^y.data_)&0x8000)); } in copysign()
1843 static int fpclassify(half arg) in fpclassify()
1853 static bool isfinite(half arg) { return (arg.data_&0x7C00) != 0x7C00; } in isfinite()
1859 static bool isinf(half arg) { return (arg.data_&0x7FFF) == 0x7C00; } in isinf()
1865 static bool isnan(half arg) { return (arg.data_&0x7FFF) > 0x7C00; } in isnan()
1871 static bool isnormal(half arg) { return ((arg.data_&0x7C00)!=0) & ((arg.data_&0x7C00)!=0x7C00); } in isnormal()
1877 static bool signbit(half arg) { return (arg.data_&0x8000) != 0; } in signbit()
1884 … isequal(half x, half y) { return (x.data_==y.data_ || !((x.data_|y.data_)&0x7FFF)) && !isnan(x); } in isequal()
1891 …isnotequal(half x, half y) { return (x.data_!=y.data_ && ((x.data_|y.data_)&0x7FFF)) || isnan(x); } in isnotequal()
1898 static bool isgreater(half x, half y) in isgreater()
1909 static bool isgreaterequal(half x, half y) in isgreaterequal()
1920 static bool isless(half x, half y) in isless()
1931 static bool islessequal(half x, half y) in islessequal()
1942 static bool islessgreater(half x, half y) in islessgreater()
1956 static bool isunordered(half x, half y) { return isnan(x) || isnan(y); } in isunordered()
1959 static double erf(double arg) in erf()
1967 static double lgamma(double arg) in lgamma()