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

3
LINES

< > BotCompany Repo | #1036228 // diffRatio

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

Libraryless. Click here for Pure Java version (191L/2K).

1  
static double diffRatio(double a, double b) {
2  
  ret 1-doubleRatio(min(a, b), max(a, b));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036228
Snippet name: diffRatio
Eternal ID of this version: #1036228/1
Text MD5: 4cba6c705695bc4735ea57c512833973
Transpilation MD5: cbaab98ebd0c7509d4bdfec57ddeeaf7
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-26 03:31:47
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 184
Referenced in: [show references]