factor out mp_int -> FLOATVAL conversion into a static subroutine, reuse it in other ops
factor out mp_int -> FLOATVAL conversion into a static subroutine, reuse it in other ops

cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp