ttmath/ttmath
Tomasz Sowa c65857297b fixed: the parser didn't correctly treat operators for changing the base
(radix) -- operators '#' and '&', e.g.:
       '#sin(1)' was equal '0' -- there was a zero from '#' and then
       it was multipied by 'sin(1)'
       the parser didn't check whether Big::FromString() has actually
       read a proper value -- the method Big::FromString() didn't have
       something to report such a situation
fixed: Big::FromString() when the base is 10, the method reads the scientific
       part only if such a part it correctly supplied, e.g:
       '1234e10', '1234e+10', '1234e-5'
       previous '1234e' was treated as: '1234e0' (now parsing stops on 'e' and
       the 'e' can be parsed by other parsers, e.g. the mathematical
       parser -- now in the parser would be: '1234e' = '1234 * e' = '3354,3597...' )
added: to Int::FromString(): parameter 'const char ** after_source = 0'
       if exists it's pointing at the end of the parsed string
added: to UInt::FromString(), Int::FromString(), Big::FromString():
       parameter 'bool * value_read = 0' - (if exists) tells
       whether something has actually been read (at least one digit)
added: the parser checks itself for the operators for changing the base
       (operators '#' and '&')
changed: in the parser: the form with operators '#' and '&' is as follows:
       [-|+][#|&]numeric_value
       previous was: [-|+][#|&][-|+]numeric_value
removed: Big::FromString() this method doesn't longer recognize operators
       for changing the base ('#' and '&')
changed: in the parser: the short form of multiplication has the same
       priority as the normal multiplication, e.g.:
       '2x^3' = 2 * (x^3)
       previous the priority was greater than powering priority
       previous: '2x^3' = (2*x) ^ 3



git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@113 e52654a7-88a9-db11-a3e9-0013d4bc506e
2009-03-28 17:40:36 +00:00
..
ttmath.h fixed: in function DegToRad(const ValueType & x, ErrorCode * err = 0) it is better 2009-03-27 22:26:51 +00:00
ttmathbig.h fixed: the parser didn't correctly treat operators for changing the base 2009-03-28 17:40:36 +00:00
ttmathint.h fixed: the parser didn't correctly treat operators for changing the base 2009-03-28 17:40:36 +00:00
ttmathobjects.h changed: small changes especially cosmetic in documentation (commentaries) 2008-06-18 00:33:05 +00:00
ttmathparser.h fixed: the parser didn't correctly treat operators for changing the base 2009-03-28 17:40:36 +00:00
ttmathtypes.h added: 'constgen' directory -- there is a program there to generate some constants used in ttmathbig.h 2009-03-12 20:54:46 +00:00
ttmathuint.h fixed: the parser didn't correctly treat operators for changing the base 2009-03-28 17:40:36 +00:00
ttmathuint64.h added: 'constgen' directory -- there is a program there to generate some constants used in ttmathbig.h 2009-03-12 20:54:46 +00:00