Libraryless. Click here for Pure Java version (28L/1K).
static double mul_optFor1(double a, double b) { ret a == 1 ? b : a*b; }
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: | 320 / 428 |
| Referenced in: | [show references] |