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

11
LINES

< > BotCompany Repo | #1012271 // mul - synonym of multiply - multiply BigIntegers

JavaX fragment (include)

1  
static BigInteger mul(BigInteger a, BigInteger b) {
2  
  ret a.multiply(b);
3  
}
4  
5  
static BigInteger mul(BigInteger a, long b) {
6  
  ret a.multiply(bigint(b));
7  
}
8  
9  
static int mul(int a, int b) { ret a*b; }
10  
static long mul(long a, long b) { ret a*b; }
11  
static double mul(double a, double b) { ret a*b; }

Author comment

Began life as a copy of #1007769

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012271
Snippet name: mul - synonym of multiply - multiply BigIntegers
Eternal ID of this version: #1012271/6
Text MD5: 9464a8a9bd6d20a23dab578c05c6802f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-04-25 20:50:29
Source code size: 301 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 457 / 503
Version history: 5 change(s)
Referenced in: [show references]