⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comparenan.java

📁 gcc的组建
💻 JAVA
字号:
/* * JLS 4.2.3 specifies that (x op y) must be false if either x or y * is NaN and op is one of <, >, <=, >=, or ==. * * Some targets may need specific options wired into libgcj.spec * to pass this test.  For example, alpha-linux requires -mieee * to prevent an unrecoverable fp trap. */public class CompareNaN {  public static void main(String[] args) {    double x = Double.NaN;    System.out.println(x == x);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -