loonwerks / jkind

JKind - An infinite-state model checker for safety properties in Lustre
http://loonwerks.com/tools/jkind.html
Other
52 stars 32 forks source link

user specified precision in rational printing #67

Open lgwagner opened 3 years ago

lgwagner commented 3 years ago

provide a user flag to specify the precision of rationals.

I'm thinking: -precision INT

the INT argument will produce the underlying fraction if the argument is 0 or N places of precision in a decimal format (up to some reasonable level, like 9). I think we should default N to 3 so it mimics current behavior by default.

Notes: