Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1037266 // notNaN

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (37L/1K).

sbool notNaN(double d) {
  ret !Double.isNaN(d);
}

sbool notNaN(float f) {
  ret !Float.isNaN(f);
}

Author comment

Began life as a copy of #1010594

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, gjtlkbvenryc, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1037266
Snippet name: notNaN
Eternal ID of this version: #1037266/1
Text MD5: 2cd14b97d84394ea93215ccd1210e7b3
Transpilation MD5: 7f3affda8f28575d603b2fcc6d5ec416
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-11-16 20:34:42
Source code size: 106 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 36 / 55
Referenced in: [show references]