Skip to content

Long double Bessel functions needed... #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wyldckat opened this issue Sep 16, 2020 · 0 comments
Open

Long double Bessel functions needed... #156

wyldckat opened this issue Sep 16, 2020 · 0 comments

Comments

@wyldckat
Copy link
Member

In commit 0c250164dd5cc0e1c1bdb63b96e811c39630a3d5, on blueCFD-Core-8, was introduced a hack where we do the same hack as in the scalar float file... namely in the file src/OpenFOAM/primitives/Scalar/longDoubleScalar/longDoubleScalar.H we have this:

#if (defined( WIN32 ) || defined( WIN64 )) && defined(__STRICT_ANSI__)
#undef __STRICT_ANSI__
#define REDEFINE_SA__
#endif

#include <cmath>

#if defined( WIN32 ) || defined( WIN64 )
#ifdef REDEFINE_SA__
#define __STRICT_ANSI__ 1
#endif

#define j0l _j0
#define j1l _j1
#define jnl _jn
#define y0l _y0
#define y1l _y1
#define ynl _yn
#endif

This isn't a good idea, given that it gives us a lower definition of the values.

mingwex Allegedly has these functions implemented, but I have not idea how real this is or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Wishlist
Development

No branches or pull requests

1 participant