LLNL / sundials

Official development repository for SUNDIALS - a SUite of Nonlinear and DIfferential/ALgebraic equation Solvers. Pull requests are welcome for bug fixes and minor changes.
https://computing.llnl.gov/projects/sundials
BSD 3-Clause "New" or "Revised" License
523 stars 131 forks source link

Add macro for consistent sunrealtype formatting #498

Closed Steven-Roberts closed 5 months ago

Steven-Roberts commented 6 months ago

Putting in draft stage since there's many more places to add the macro, but I want to get the ok before proceeding. Is SUN_REAL_TYPE_FORMAT preferable to SUN_REAL_FORMAT? Or SUN_FORMAT_REAL?

Example of the formatting used: https://godbolt.org/z/EEjderKab