Libraryless. Click here for Pure Java version (52L/1K).
1 | static int cubed(int i) {
|
2 | ret i*i*i; |
3 | } |
4 | |
5 | static double cubed(double d) {
|
6 | ret pow(d, 3); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035786 |
| Snippet name: | cubed |
| Eternal ID of this version: | #1035786/1 |
| Text MD5: | 4254486fbcb6fecefd79664e0ede7373 |
| Transpilation MD5: | b7cb8b469a5ffbba4dd43c6a5a6aabfc |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-07-25 18:18:44 |
| Source code size: | 98 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 364 / 465 |
| Referenced in: | [show references] |