kiselev / aic-praise

Automatically exported from code.google.com/p/aic-praise
0 stars 0 forks source link

Need to be able to pass a model to LBPQueryEngine without loosing numeric precision #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, there are three options on DefaultSymbol for managing the String 
representation of numeric Symbols:

_displayNumericPrecision
_displayScientificGreaterNIntegerPlaces
_displayScientificAfterNDecimalPlaces

which are global in the system. However, the PRAiSEDemoApp sets these fairly 
low (originally set to 2,6,4 now 6,6,6 to accommodate default translate rules 
precision). Therefore when a Model in instantiated and converted to its String 
representation to work with the LBPQueryEngine API (which accepts String 
representations of the input query and model in order to support working in 
remote/server settings so that Expressions don't have to be passed directly) 
precision defined in the model can be lost.

Original issue reported on code.google.com by ctjoreilly@gmail.com on 15 Jul 2013 at 7:05

GoogleCodeExporter commented 8 years ago

Original comment by ctjoreilly@gmail.com on 15 Jul 2013 at 7:05