Lines Matching defs:functions

1208 		struct functions  struct
1214 static expr plus(float x, float y) { return expr(x+y); } in plus()
1220 static expr minus(float x, float y) { return expr(x-y); } in minus()
1226 static expr multiplies(float x, float y) { return expr(x*y); } in multiplies()
1232 static expr divides(float x, float y) { return expr(x/y); } in divides()
1238 …tream<charT,traits>& write(std::basic_ostream<charT,traits> &out, float arg) { return out << arg; } in write()
1244 …its> static std::basic_istream<charT,traits>& read(std::basic_istream<charT,traits> &in, half &arg) in read()
1256 static expr fmod(float x, float y) { return expr(std::fmod(x, y)); } in fmod()
1262 static expr remainder(float x, float y) in remainder()
1293 static expr remquo(float x, float y, int *quo) in remquo()
1339 static expr fdim(float x, float y) in fdim()
1353 static expr fma(float x, float y, float z) in fma()
1364 static half nanh() { return half(binary, 0x7FFF); } in nanh()
1369 static expr exp(float arg) { return expr(std::exp(arg)); } in exp()
1374 static expr expm1(float arg) in expm1()
1386 static expr exp2(float arg) in exp2()
1398 static expr log(float arg) { return expr(std::log(arg)); } in log()
1403 static expr log10(float arg) { return expr(std::log10(arg)); } in log10()
1408 static expr log1p(float arg) in log1p()
1420 static expr log2(float arg) in log2()
1432 static expr sqrt(float arg) { return expr(std::sqrt(arg)); } in sqrt()
1437 static expr cbrt(float arg) in cbrt()
1453 static expr hypot(float x, float y) in hypot()
1467 static expr pow(float base, float exp) { return expr(std::pow(base, exp)); } in pow()
1472 static expr sin(float arg) { return expr(std::sin(arg)); } in sin()
1477 static expr cos(float arg) { return expr(std::cos(arg)); } in cos()
1482 static expr tan(float arg) { return expr(std::tan(arg)); } in tan()
1487 static expr asin(float arg) { return expr(std::asin(arg)); } in asin()
1492 static expr acos(float arg) { return expr(std::acos(arg)); } in acos()
1497 static expr atan(float arg) { return expr(std::atan(arg)); } in atan()
1503 static expr atan2(float x, float y) { return expr(std::atan2(x, y)); } in atan2()
1508 static expr sinh(float arg) { return expr(std::sinh(arg)); } in sinh()
1513 static expr cosh(float arg) { return expr(std::cosh(arg)); } in cosh()
1518 static expr tanh(float arg) { return expr(std::tanh(arg)); } in tanh()
1523 static expr asinh(float arg) in asinh()
1535 static expr acosh(float arg) in acosh()
1547 static expr atanh(float arg) in atanh()
1559 static expr erf(float arg) in erf()
1571 static expr erfc(float arg) in erfc()
1583 static expr lgamma(float arg) in lgamma()
1605 static expr tgamma(float arg) in tgamma()
1629 …alf floor(half arg) { return half(binary, round_half<std::round_toward_neg_infinity>(arg.data_)); } in floor()
1634 …tic half ceil(half arg) { return half(binary, round_half<std::round_toward_infinity>(arg.data_)); } in ceil()
1639 …static half trunc(half arg) { return half(binary, round_half<std::round_toward_zero>(arg.data_)); } in trunc()
1644 static half round(half arg) { return half(binary, round_half_up(arg.data_)); } in round()
1649 static long lround(half arg) { return detail::half2int_up<long>(arg.data_); } in lround()
1654 static half rint(half arg) { return half(binary, round_half<half::round_style>(arg.data_)); } in rint()
1659 static long lrint(half arg) { return detail::half2int<half::round_style,long>(arg.data_); } in lrint()
1665 static long long llround(half arg) { return detail::half2int_up<long long>(arg.data_); } in llround()
1670 …tic long long llrint(half arg) { return detail::half2int<half::round_style,long long>(arg.data_); } in llrint()
1677 static half frexp(half arg, int *exp) in frexp()
1690 static half modf(half arg, half *iptr) in modf()
1710 static half scalbln(half arg, long exp) in scalbln()
1757 static int ilogb(half arg) in ilogb()
1777 static half logb(half arg) in logb()
1805 static half nextafter(half from, half to) in nextafter()
1823 static half nexttoward(half from, long double to) in nexttoward()
1839 static half copysign(half x, half y) { return half(binary, x.data_^((x.data_^y.data_)&0x8000)); } in copysign()
1845 static int fpclassify(half arg) in fpclassify()
1855 static bool isfinite(half arg) { return (arg.data_&0x7C00) != 0x7C00; } in isfinite()
1861 static bool isinf(half arg) { return (arg.data_&0x7FFF) == 0x7C00; } in isinf()
1867 static bool isnan(half arg) { return (arg.data_&0x7FFF) > 0x7C00; } in isnan()
1873 static bool isnormal(half arg) { return ((arg.data_&0x7C00)!=0) & ((arg.data_&0x7C00)!=0x7C00); } in isnormal()
1879 static bool signbit(half arg) { return (arg.data_&0x8000) != 0; } in signbit()
1886 … isequal(half x, half y) { return (x.data_==y.data_ || !((x.data_|y.data_)&0x7FFF)) && !isnan(x); } in isequal()
1893 …isnotequal(half x, half y) { return (x.data_!=y.data_ && ((x.data_|y.data_)&0x7FFF)) || isnan(x); } in isnotequal()
1900 static bool isgreater(half x, half y) in isgreater()
1911 static bool isgreaterequal(half x, half y) in isgreaterequal()
1922 static bool isless(half x, half y) in isless()
1933 static bool islessequal(half x, half y) in islessequal()
1944 static bool islessgreater(half x, half y) in islessgreater()
1958 static bool isunordered(half x, half y) { return isnan(x) || isnan(y); } in isunordered()
1961 static double erf(double arg) in erf()
1969 static double lgamma(double arg) in lgamma()