Split out eval_op_f_floor
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:06 +0000 (07:28 -0700)
commit9f1a1f3c4f8fd9dd7422bf246ef3d199df22eb18
tree044a7532e95deed30076f603d636cab1ea162963
parent3dc41f3cdf92c5ed486f313ababb8b42f0573a15
Split out eval_op_f_floor

This splits UNOP_FORTRAN_FLOOR into a new function for future use.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* f-lang.c (eval_op_f_floor): New function.
(evaluate_subexp_f): Use it.
gdb/ChangeLog
gdb/f-lang.c