```{index} single: bmulf; Math::GMP function ``` ```{index} single: Math::GMP::bmulf; Perl function ``` # bmulf Return `$x` multiplied by a floating-point value, truncated to an integer. ## Synopsis ```perl my $x = Math::GMP->new(3)->bpow(100); my $y = $x->bmulf(1.5); # floor(3**100 * 1.5) ``` The double `$float` is converted to a GMP float, multiplied, then truncated toward zero. Internal precision is raised just enough to hold both operands exactly; the default `mpf` precision is restored before returning. ## Edge cases - `$float == 0.0` → a `Math::GMP` of `0`. - Negative `$float` → result has the expected sign. - `NaN` / infinity → result is implementation-defined; do not rely on it.