Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
b3da8c58
Commit
b3da8c58
authored
Feb 03, 2012
by
Kyle Lutz
Committed by
Code Review
Feb 03, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'math-remove-debug' into master
f7439b5e
BUG: Removed debug statements from IsInf and IsNan.
parents
2ad64f89
f7439b5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
Common/vtkMath.cxx
Common/vtkMath.cxx
+0
-2
No files found.
Common/vtkMath.cxx
View file @
b3da8c58
...
...
@@ -3091,7 +3091,6 @@ int vtkMath::IsInf(double x)
// IEEE-754 infinites have all of their exponent set and none of their
// mantissa set.
vtkTypeInt64
xbits
=
*
reinterpret_cast
<
vtkTypeInt64
*>
(
&
x
);
cout
<<
"IsInf of "
<<
xbits
<<
endl
;
return
(
((
xbits
&
vtkMathDoubleExponent
)
==
vtkMathDoubleExponent
)
&&
((
xbits
&
vtkMathDoubleMantissa
)
==
0
)
)
?
1
:
0
;
#else
...
...
@@ -3111,7 +3110,6 @@ int vtkMath::IsNan(double x)
// IEEE-754 NaNs have all of their exponent set and at least one bit in
// their mantissa set.
vtkTypeInt64
xbits
=
*
reinterpret_cast
<
vtkTypeInt64
*>
(
&
x
);
cout
<<
"IsNan of "
<<
xbits
<<
endl
;
return
(
((
xbits
&
vtkMathDoubleExponent
)
==
vtkMathDoubleExponent
)
&&
((
xbits
&
vtkMathDoubleMantissa
)
!=
0
)
)
?
1
:
0
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment