FindApproximationError
public enum FindApproximationError : Error
Errors throwed by ContinuedFractionsSolver.findApproximation(of:differenceBelowOrEqual:)
-
Throwed if
limitis zero or negative. Notice that alimitequal to zero, the approximation is the same providedvalueDeclaration
Swift
case limitHasToBeBiggerThanZero -
Throwed if
valueis zero or negative. Notice that the only possible approximation for zero is zeroDeclaration
Swift
case valueHasToBeBiggerThanZero
FindApproximationError Enumeration Reference