Skip to content

Refactor IEEECK to avoid generating IEEE exceptions by using IEEE_ARITHMETIC#1168

Merged
langou merged 1 commit intoReference-LAPACK:masterfrom
foxtran:refactor/ieeeck
Mar 25, 2026
Merged

Refactor IEEECK to avoid generating IEEE exceptions by using IEEE_ARITHMETIC#1168
langou merged 1 commit intoReference-LAPACK:masterfrom
foxtran:refactor/ieeeck

Conversation

@foxtran
Copy link
Contributor

@foxtran foxtran commented Nov 26, 2025

Description

I've replaced division-by-zero and other invalid floating-point operations with IEEE_ARITHMETIC module from modern Fortran. It should simplify debugging of numerical instabilities of code that also uses LAPACK.

Fixes #1172

Checklist

  • The documentation has been updated: no need to update documentation. Keep old documentation as is for compability with previous behaviour.
  • If the PR solves a specific issue, it is set to be closed on merge.

@langou langou merged commit 8104c32 into Reference-LAPACK:master Mar 25, 2026
1 check passed
@langou
Copy link
Contributor

langou commented Mar 25, 2026

Thanks. On the one hand, I hesitated to save the previous version ieeeck.f in DEPRECATED for legacy reason. On the other hand, I guess that's why we have a source control system.

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

Successfully merging this pull request may close these issues.

IEEECK generates IEEE exceptions

2 participants