Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exceptions for float relations #1

Open
chenbihuan opened this issue Jun 26, 2016 · 0 comments
Open

exceptions for float relations #1

chenbihuan opened this issue Jun 26, 2016 · 0 comments

Comments

@chenbihuan
Copy link

Hello,

I am running jDart on the Raytrace program that have float variables.
jDart outputs "[SEVERE] Coral threw exception" most of the time, leading to a very low branch coverage.
However, from the TACAS2016 paper, jDart achieved a relatively high branch coverage for this program.

I am wondering how jconstraints-coral deals with float relations exactly.
Some limitations of jconstraints-coral are that (Possibly fixed as of coral 0.8),

  1. API allows float and long relations (<, <=, ==, >=, >), but coral 0.7 throws exceptions when they are used
  2. Float and long arithmetic are superfluous (API allows constructing them)
  3. For above reasons, float constants are currently converted to doubles in jConstraints-coral

Do these limitation mean coral will throw exceptions whenever the path condition contains float symbols and jconstraints-coral will fail to solve such path conditions?

If yes, any feasible solutions? Manually convert all the float variables into double variables? Or is it possible to use the latest coral 0.8 here?

Thanks and Regards,
Bihuan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant