Skip to content

Long double Bessel functions needed... #156

Description

@wyldckat

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions