aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/internal/math
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-11-26 10:46:36 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2020-11-27 21:27:13 +0100
commit9285e0f694969dc2d1d9257378ddf6c8ef42de3c (patch)
tree438e40733f271a6c62e4df462073b45e16cd249d /libphobos/src/std/internal/math
parent67138ea1b041fe1637da6b3568f064f172d9358c (diff)
downloadgcc-9285e0f694969dc2d1d9257378ddf6c8ef42de3c.zip
gcc-9285e0f694969dc2d1d9257378ddf6c8ef42de3c.tar.gz
gcc-9285e0f694969dc2d1d9257378ddf6c8ef42de3c.tar.bz2
d: Add float and double overloads for all core.math intrinsics
For the math intrinsics: cos, fabs, ldexp, rint, rndtol, and sin, new overloads have been added to the core.math module for matching float and double types. These have been implemented in the compiler. A recent change to dump_function_to_file started triggering some scan-tree-dump tests to FAIL, these have been adjusted as well when updating the test. gcc/d/ChangeLog: * intrinsics.cc (maybe_expand_intrinsic): Handle new intrinsics. * intrinsics.def (INTRINSIC_COS): Add float and double overloads. (INTRINSIC_FABS): Likewise. (INTRINSIC_LDEXP): Likewise. (INTRINSIC_RINT): Likewise. (INTRINSIC_RNDTOL): Likewise. (INTRINSIC_SIN): Likewise. (INTRINSIC_TOPREC): Adjust signature. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime 5e4492c4. gcc/testsuite/ChangeLog: * gdc.dg/intrinsics.d: Adjust patterns in scan-tree-dump.
Diffstat (limited to 'libphobos/src/std/internal/math')
0 files changed, 0 insertions, 0 deletions