You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the test case with those inputs doesn't cause it to panic. It's possible that the intrinsic is over-approximating too much, but first I'd like to know more about your test case.
We were discussing this issue now. We suspect it's a spurious failure due to over-approximation, but haven't determined it yet.
@celinval notes that, for the intrinsics that over-approximate, we should find a way to alert the user about such behaviors. This isn't the first time users are confused, see #1342 for another example.
Activity
nickgarfield commentedon Jan 3, 2024
The docs suggest Numerics are fully supported. Without floats, I think "partial" would be more appropriate.
zhassan-aws commentedon Jan 3, 2024
Thanks for creating this issue, @nickgarfield.
This is related to #2763. Now that support has been added in CBMC (diffblue/cbmc#7906), this should be doable.
adpaco commentedon Jan 5, 2024
Hi @nickgarfield , do you mind explaining the test case you attached? Does it test a well-known numerical property or why do you think it should pass?
The reason I'm asking is that I have a development version with the
powf64intrinsic, but the result I'm getting is not the one you're expecting:Concrete playback returns these inputs:
Running the test case with those inputs doesn't cause it to panic. It's possible that the intrinsic is over-approximating too much, but first I'd like to know more about your test case.
adpaco commentedon Jan 5, 2024
I don't agree with this assessment. What we're missing support for are the
pow*intrinsics which appear as "Not supported" in the table summarizing support for intrinsics.nickgarfield commentedon Jan 7, 2024
I drafted this example rather quickly. It might have some bugs. I was trying to write a proof to show f(x) > f(y) if x > y.
adpaco commentedon Jan 24, 2024
We were discussing this issue now. We suspect it's a spurious failure due to over-approximation, but haven't determined it yet.
@celinval notes that, for the intrinsics that over-approximate, we should find a way to alert the user about such behaviors. This isn't the first time users are confused, see #1342 for another example.
Enable powf*, exp*, sqrt* intrinsics
Enable powf*, exp*, log* intrinsics (#2996)