fmul
Input Stack:
|
⇨ | Output Stack:
|
Floating point multiplication operator that follows strict IEEE 754 floating point arithmetic.
Compute a new time series where each interval has the value (ts1 * ts2)
where values
are the corresponding intervals in the input time series.
Info
Note: :fmul
is functionally equivalent to :mul as both handle NaN values
using standard floating point rules. This variant exists for consistency with other
floating point operators like :fadd
and :fsub
.
Parameters¶
- ts1: First time series expression (left operand)
- ts2: Second time series expression (right operand)
Examples¶
Multiplying by a constant value:
Before | After |
name,sps,:eq | name,sps,:eq, 1024,:fmul |
Multiplying two time series:
Before | After |
name,requestLatency,:eq, :sum, name,requestsPerSecond,:eq, :max, (,name,),:by | name,requestLatency,:eq, :sum, name,requestsPerSecond,:eq, :max, (,name,),:by, :fmul |