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

3
LINES

< > BotCompany Repo | #1033049 // mul_optFor1

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

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

1  
static double mul_optFor1(double a, double b) {
2  
  ret a == 1 ? b : a*b;
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033049
Snippet name: mul_optFor1
Eternal ID of this version: #1033049/1
Text MD5: b2a04bed3b7226c4aeba4ab16ed0e3d4
Transpilation MD5: 4975be5120456b8119e3100b4bd6e875
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 18:53:50
Source code size: 75 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 198
Referenced in: [show references]