DataMedSci / yagit

The gamma index calculation library for radiation dose DICOM images
https://datamedsci.github.io/yagit/
GNU General Public License v3.0
2 stars 4 forks source link

FMA accuracy #63

Open michal367 opened 1 year ago

michal367 commented 1 year ago

When setting cmake option ENABLE_FMA=ON then -mfma compiler option is added (only on compilers that support it). This gives better performance, but slightly different results. And because of that some unit tests don't pass (Wendling gamma index and linear interpolation). Check if enabling FMA gives more or less accurate results.