Commit fe86f537 by Steven G. Kargl Committed by Tobias Burnus

Dead code in fortran/simplify.c

	* simplify.c (degrees_f): Remove unused code.
parent 103bc4db
2020-02-25 Steven G. Kargl <kargl@gcc.gnu.org>
* simplify.c (degrees_f): Remove unused code.
2020-02-25 Jakub Jelinek <jakub@redhat.com> 2020-02-25 Jakub Jelinek <jakub@redhat.com>
PR translation/93864 PR translation/93864
......
...@@ -1775,11 +1775,6 @@ degrees_f (mpfr_t x, mpfr_rnd_t rnd_mode) ...@@ -1775,11 +1775,6 @@ degrees_f (mpfr_t x, mpfr_rnd_t rnd_mode)
mpfr_t tmp; mpfr_t tmp;
mpfr_init (tmp); mpfr_init (tmp);
/* Set x = x % 2pi to avoid offsets with large angles. */
mpfr_const_pi (tmp, rnd_mode);
mpfr_mul_ui (tmp, tmp, 2, rnd_mode);
mpfr_fmod (tmp, x, tmp, rnd_mode);
/* Set x = x * 180. */ /* Set x = x * 180. */
mpfr_mul_ui (x, x, 180, rnd_mode); mpfr_mul_ui (x, x, 180, rnd_mode);
......
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