Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
2 comments

Account for too-large integer factorials

`21!` and above can't be represented as an `NSUInteger`. Fall back to `tgamma` when that occurs, thus representing it as a `double`. There will be a loss of precision, but it won't be totally _wrong_.

Fixes #95.
latest commit 5aa46ba06c
@davedelong authored
..
Failed to load latest commit information.
DDExpression.h More syntax modernization
DDExpression.m Overriding -isEqual: requires the implementation of -hash
DDExpressionRewriter.h Break expression rewriting out into its own class.
DDExpressionRewriter.m Rewriting needs account for simplification
DDMathEvaluator+Private.h merging in remote changes
DDMathEvaluator.h Move operator definitions out of global state
DDMathEvaluator.m Move operator definitions out of global state
DDMathOperator.h Move operator definitions out of global state
DDMathOperator.m Move operator definitions out of global state
DDMathOperator_Internal.h Move operator definitions out of global state
DDMathParser.h Move operator definitions out of global state
DDMathParserMacros.h Modernizing some syntax
DDMathStringToken.h More syntax modernization
DDMathStringToken.m New: API to add your own operators and to add new tokens for existing…
DDMathStringTokenizer.h Move operator definitions out of global state
DDMathStringTokenizer.m Move operator definitions out of global state
DDParser.h Move operator definitions out of global state
DDParser.m Move operator definitions out of global state
DDParserTypes.h More syntax modernization
DDParserTypes.m Fix the % operator, add a "modulo" alias
DDTypes.h Modernizing some syntax
DDTypes.m Much more descriptive error codes
NSString+DDMathParsing.h merging in remote changes
NSString+DDMathParsing.m Move operator definitions out of global state
_DDDecimalFunctions.h Moving ivars to inside @implementation blocks
_DDDecimalFunctions.m The future is ARC.
_DDFunctionEvaluator.h Modernizing some syntax
_DDFunctionEvaluator.m Account for too-large integer factorials
_DDFunctionExpression.h Moving ivars to inside @implementation blocks
_DDFunctionExpression.m Break expression rewriting out into its own class.
_DDFunctionTerm.h The future is ARC.
_DDFunctionTerm.m The future is ARC.
_DDGroupTerm.h The future is ARC.
_DDGroupTerm.m Don’t use C++ reserved words as identifiers. Fixes #21.
_DDNumberExpression.h Moving ivars to inside @implementation blocks
_DDNumberExpression.m DDExpressions now conform to <NSCopying>
_DDNumberTerm.h initial commit of _DDParserTerm stubs
_DDNumberTerm.m Parity with the old term system
_DDOperatorTerm.h A bit of refactoring of _DDOperatorInfo
_DDOperatorTerm.m slightly more descriptive error
_DDParserTerm.h More syntax modernization
_DDParserTerm.m The future is ARC.
_DDPrecisionFunctionEvaluator.h merging in remote changes
_DDPrecisionFunctionEvaluator.m Update to correct Factorial computation
_DDRewriteRule.h Moving ivars to inside @implementation blocks
_DDRewriteRule.m The future is ARC.
_DDVariableExpression.h Moving ivars to inside @implementation blocks
_DDVariableExpression.m DDExpressions now conform to <NSCopying>
_DDVariableTerm.h initial commit of _DDParserTerm stubs
_DDVariableTerm.m Parity with the old term system
Something went wrong with that request. Please try again.