Changes to LogMath:
Changes to LogMath:

-subtract uses function similar to add instead of converting to/from linear
-add now uses multiply
-multiply checks for overflow, comparing signs of arguments and how
far they are from MAX_VALUE (or -MAX_VALUE), and prints out message
if overflow occurs. Processing continues with return value of (-)MAX_VALUE
-logToLinear checks first if a conversion to linear would result in
underflow ot overflow, and returns 0 or MAX_VALUE instead.
-linearToLog throws an exception if the argument to it is negative.


git-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@1112 94700074-3cef-4d97-a70e-9c8c206c02f5

deepstupid/sphinx5