SCIPintervalSignPowerScalar

Function SCIPintervalSignPowerScalar 

Source
pub unsafe extern "C" fn SCIPintervalSignPowerScalar(
    infinity: f64,
    resultant: *mut SCIP_INTERVAL,
    operand1: SCIP_INTERVAL,
    operand2: f64,
)
Expand description

stores operand1 to the signed power of the scalar positive operand2 in resultant

The signed power of x w.r.t. an exponent n ≥ 0 is given as \f$\mathrm{sign}(x) |x|^n\f$.

@attention we assume correctly rounded sqrt(double) and pow(double) functions when rounding is to nearest