aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/sql/Driver.java
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2006-10-25 20:44:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2006-10-25 20:44:09 +0000
commitcf1491f0e56e3d6ad918347fd05a2f953c9eede2 (patch)
treebcb317eaa0092ea0dc3d9db35118efcd9c04bc92 /libjava/classpath/java/sql/Driver.java
parent4f0abdc91b8f1174b3dbd3660761e09b93e6d997 (diff)
downloadgcc-cf1491f0e56e3d6ad918347fd05a2f953c9eede2.zip
gcc-cf1491f0e56e3d6ad918347fd05a2f953c9eede2.tar.gz
gcc-cf1491f0e56e3d6ad918347fd05a2f953c9eede2.tar.bz2
re PR middle-end/29335 (transcendental functions with constant arguments should be resolved at compile-time)
PR middle-end/29335 * builtins.c (fold_builtin_cbrt, fold_builtin_logarithm): Calculate compile-time constants using MPFR. (fold_builtin_1): Likewise handle BUILT_IN_ERF, BUILT_IN_ERFC, BUILT_IN_EXPM1 and BUILT_IN_LOG1P. testsuite: * gcc.dg/torture/builtin-math-2.c (TESTIT): Use new helper macro. Add checks for log, log2, log10 and log1p. * gcc.dg/torture/builtin-math-3.c: Add checks for -0.0 everywhere we already test 0.0. Add checks for expm1, log, log2, log10, log1p, cbrt, erf and erfc. From-SVN: r118042
Diffstat (limited to 'libjava/classpath/java/sql/Driver.java')
0 files changed, 0 insertions, 0 deletions