Skip to content
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

using gnulib instead of some compatibility hacks #74

Open
slayoo opened this issue Apr 7, 2018 · 0 comments
Open

using gnulib instead of some compatibility hacks #74

slayoo opened this issue Apr 7, 2018 · 0 comments
Labels
good first issue Good for newcomers

Comments

@slayoo
Copy link
Member

slayoo commented Apr 7, 2018

As reported on SF.net (https://sourceforge.net/p/gnudatalanguage/feature-requests/112/):

gnulib (https://www.gnu.org/software/gnulib/manual/gnulib.html) should provide us with a more elegant alternative for such hacks as:

datatypes.hpp:
// isfinite & isinf for Solaris
#if defined(__sun__)
# include <ieeefp.h>
# define isfinite finite
# ifndef isinf
# define isinf(x) (!finite(x) && x==x)
# endif
#endif

See also #17

@slayoo slayoo added the good first issue Good for newcomers label Apr 7, 2018
GillesDuvert added a commit that referenced this issue Feb 18, 2020
align with master (incorporate #719)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant