Commit b16ef779 by Ben Elliston Committed by Ben Elliston

* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.

From-SVN: r142577
parent b4679197
2008-12-09 Ben Elliston <bje@au.ibm.com> 2008-12-09 Ben Elliston <bje@au.ibm.com>
* config/dfp-bit.c (DFP_TO_INT): Remove unnecessary cast.
2008-12-09 Ben Elliston <bje@au.ibm.com>
* config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v. * config/rs6000/darwin-ldouble.c (fmsub): Remove unused variable, v.
2008-12-08 Steve Ellcey <sje@cup.hp.com> 2008-12-08 Steve Ellcey <sje@cup.hp.com>
...@@ -536,7 +536,7 @@ DFP_TO_INT (DFP_C_TYPE x) ...@@ -536,7 +536,7 @@ DFP_TO_INT (DFP_C_TYPE x)
/* Rescale if the exponent is less than zero. */ /* Rescale if the exponent is less than zero. */
decNumberToIntegralValue (&n2, &n1, &context); decNumberToIntegralValue (&n2, &n1, &context);
/* Get a value to use for the quantize call. */ /* Get a value to use for the quantize call. */
decNumberFromString (&qval, (char *) "1.", &context); decNumberFromString (&qval, "1.", &context);
/* Force the exponent to zero. */ /* Force the exponent to zero. */
decNumberQuantize (&n1, &n2, &qval, &context); decNumberQuantize (&n1, &n2, &qval, &context);
/* Get a string, which at this point will not include an exponent. */ /* Get a string, which at this point will not include an exponent. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment