Function sequant::power_phase

Function Documentation

std::int8_t sequant::power_phase(meta::eval_node auto const &node)
Returns:

The sign (+1 or -1) by which the value of the EvalOp::Power node node differs from the power of the expression its base is read as: expr() of a leaf, which lacks the leaf’s sign (see EvalExpr::leaf_phase), and the value as written of any other base.