Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
orchestra
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
revng
orchestra
Commits
bf31028d
Commit
bf31028d
authored
4 years ago
by
Filippo Cremonese
Browse files
Options
Downloads
Patches
Plain Diff
Commit glibc patch for isinf/isnan
parent
22ad28c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.orchestra/patches/glibc-2.13-fix-isinf.patch
+24
-0
24 additions, 0 deletions
.orchestra/patches/glibc-2.13-fix-isinf.patch
with
24 additions
and
0 deletions
.orchestra/patches/glibc-2.13-fix-isinf.patch
0 → 100644
+
24
−
0
View file @
bf31028d
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d9b965fa56350d6eea9f7f438a0714c7ffbb183f
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -199,7 +199,9 @@
#ifdef __USE_MISC
/* Return 0 if VALUE is finite or NaN, +1 if it
is +Infinity, -1 if it is -Infinity. */
+#if !defined __cplusplus || __cplusplus < 201103L /* Conflicts with C++11. */
__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
+#endif
/* Return nonzero if VALUE is finite and not NaN. */
__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
@@ -232,7 +234,9 @@
#if defined __USE_MISC || defined __USE_XOPEN
/* Return nonzero if VALUE is not a number. */
+#if !defined __cplusplus || __cplusplus < 201103L /* Conflicts with C++11. */
__MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
+#endif
/* Bessel functions. */
__MATHCALL (j0,, (_Mdouble_));
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment