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

3
LINES

< > BotCompany Repo | #1038771 // nullToNaN

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

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

1  
static double nullToNaN(Double x) {
2  
  ret x == null ? Double.NaN : x;
3  
}

Author comment

Began life as a copy of #1036300

download  show line numbers  debug dex  old transpilations   

Travelled to 1 computer(s): mqqgnosmbjvj

No comments. add comment

Snippet ID: #1038771
Snippet name: nullToNaN
Eternal ID of this version: #1038771/1
Text MD5: 27cf372260d9db1fb0406d24b90e5f62
Transpilation MD5: cc06f190b3857ab78748d0a6d43fe398
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2025-01-04 14:50:30
Source code size: 73 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 8 / 17
Referenced in: [show references]