<?phpdeclare(strict_types=1);namespaceBrick\Math\Exception;/** * Exception thrown when a number cannot be represented at the requested scale without rounding. */classRoundingNecessaryExceptionextendsMathException{/** * @return RoundingNecessaryException * * @psalm-pure */publicstaticfunctionroundingNecessary():RoundingNecessaryException{returnnewself('Rounding is necessary to represent the result of the operation at this scale.');}}