edf-hpc / verrou

floating-point errors checker
https://edf-hpc.github.io/verrou/vr-manual.html
GNU General Public License v2.0
49 stars 13 forks source link

Detection of cancellations #13

Closed ffevotte closed 3 years ago

ffevotte commented 6 years ago

It would be useful to (re)introduce in Verrou a feature allowing to detect and locate large cancellations.

lathuili commented 5 years ago

The option --check-cancellation=yes now produces a valgrind error for each cancellation. The option _--cc-gen-file=_FILENAME produces a file called FILENAME with the list of code lines generating cancellation.

You can configure the level of cancellation with the options _--cc_thresholddouble= and _--cc_thresholdfloat= .