Skip to content

Conversation

@cbmarini
Copy link
Collaborator

@cbmarini cbmarini commented Dec 2, 2025

This PR adds the numerical evaluation of the exponential and atan2 functions using the mpfr library.

  • A new preserved function name eexp_ is added for the exponential function. As exp_ is already used internally, the new name follows the convention of the symbol ee_.
  • atan2_ was already a reserved name, but not attached to the code of the numerical evaluation.

@coveralls
Copy link

coveralls commented Dec 2, 2025

Coverage Status

coverage: 57.158% (+0.006%) from 57.152%
when pulling b067c4e on cbmarini:exponential
into b25960b on form-dev:master.

- it can be numerically evaluated with the evaluate statement.
- Note: exp_ is already a FORM function, so the naming follows that of the symbol ee_.
- These names are now preserved for future numerical evaluation support.
@cbmarini
Copy link
Collaborator Author

cbmarini commented Dec 9, 2025

In this PR, also the function names hpl_ and mpl_ are preserved for future use.

@cbmarini cbmarini merged commit e2b60e2 into form-dev:master Dec 9, 2025
84 checks passed
@cbmarini cbmarini deleted the exponential branch December 9, 2025 13:11
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.

2 participants