Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs417-lecture-examples
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
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
Thomas Kennedy
cs417-lecture-examples
Commits
a5f7a151
Commit
a5f7a151
authored
4 years ago
by
Thomas Kennedy
Browse files
Options
Downloads
Plain Diff
Merge branch 'alauni/cs417-lecture-examples-master'
parents
12e60ede
0a1f1811
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
FPvsArbitraryPrecision/FP-ErrorEstimate-C++/cleveMoler.h
+2
-2
2 additions, 2 deletions
FPvsArbitraryPrecision/FP-ErrorEstimate-C++/cleveMoler.h
with
2 additions
and
2 deletions
FPvsArbitraryPrecision/FP-ErrorEstimate-C++/cleveMoler.h
+
2
−
2
View file @
a5f7a151
...
@@ -16,8 +16,8 @@ namespace std {
...
@@ -16,8 +16,8 @@ namespace std {
*/
*/
inline
inline
float128
abs
(
float128
x
)
float128
abs
(
float128
x
)
{
{
return
(
x
<
0
?
-
x
:
x
)
;
return
signbit
(
x
)
?
changesign
(
x
)
:
x
;
}
}
}
}
...
...
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