Skip to content

exceptions for float relations #1

@chenbihuan

Description

@chenbihuan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions