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
3 Recommendations
Rec. 03. Numeric Types and Operations (NUM)
NUM52-J. Be aware of numeric promotion behavior
Page Information
Title:
NUM52-J. Be aware of numeric promotion behavior
Author:
Bastian Marquis
Mar 28, 2009
Last Changed by:
Will Snavely
Nov 16, 2017
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/kDZGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
NUM53-J. Use the strictfp modifier for floating-point calculation consistency across platforms
Page:
Rec.: Source Code Validation
Hierarchy
Parent Page
Page:
Rec. 03. Numeric Types and Operations (NUM)
Labels
Global Labels (11)
defensive
review-dms
review-dm
review-dfs
reviewed-fwl
android-applicable
num
review-rcs
recommendation
2defpro
analyzable
Recent Changes
Time
Editor
Nov 16, 2017 14:43
Will Snavely
View Changes
Jul 21, 2017 11:35
G. Ann Campbell
View Changes
Apr 07, 2015 12:01
Will Snavely
View Changes
Mar 30, 2015 15:52
Will Snavely
View Changes
Mar 05, 2015 07:40
Sandy Shrum
View Page History
Outgoing Links
External Links (8)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/java/N…
https://www.sonarsource.com/products/codeanalyzers/sonarjav…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-1…
docs.oracle.com/javase/specs/jls/se7/html/jls-5.html#jls-5.…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.…
SEI CERT Oracle Coding Standard for Java (5)
Page:
Rec. AA. References
Page:
SonarQube_V
Page:
Java Coding Guidelines
Page:
NUM50-J. Convert integers to floating point for floating-point operations
Page:
SonarQube
Overview
Content Tools
{"serverDuration": 98, "requestCorrelationId": "3a97374256c4e4fb"}