Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 03. Numeric Types and Operations (NUM)
NUM07-J. Do not attempt comparisons with NaN
Page Information
Title:
NUM07-J. Do not attempt comparisons with NaN
Author:
Dhruv Mohindra
Aug 02, 2008
Last Changed by:
Svyatoslav Razmyslov
Jun 25, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/wzdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
NUM08-J. Check floating-point inputs for exceptional values
Page:
NUM04-J. Do not use floating-point numbers if precise computation is required
Hierarchy
Parent Page
Page:
Rule 03. Numeric Types and Operations (NUM)
Labels
Global Labels (5)
android-applicable
android
num
rule
analyzable
Recent Changes
Time
Editor
Jun 25, 2021 08:12
Svyatoslav Razmyslov
View Changes
May 18, 2021 08:39
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Mar 31, 2021 13:36
Jon O'Donnell
View Changes
Feb 26, 2021 08:51
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Page History
Outgoing Links
External Links (6)
https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
https://pvs-studio.com/en/docs/warnings/v6038/
findbugs.sourceforge.net/bugDescriptions.html#FE_TEST_IF_EQ…
https://www.securecoding.cert.org/confluence/display/java/P…
https://www.safaribooksonline.com/library/view/secure-codin…
docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.…
SEI CERT Oracle Coding Standard for Java (7)
Page:
PVS-Studio_V
Page:
Parasoft_V
Page:
Rule AA. References
Page:
NUM04-J. Do not use floating-point numbers if precise computation is required
Page:
NUM08-J. Check floating-point inputs for exceptional values
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
Rule 03. Numeric Types and Operations (NUM)
Overview
Content Tools
{"serverDuration": 89, "requestCorrelationId": "3523acfa014a4468"}