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)

static BigInteger mul(BigInteger a, BigInteger b) {
  ret a.multiply(b);
}

static BigInteger mul(BigInteger a, long b) {
  ret a.multiply(bigint(b));
}

static int mul(int a, int b) { ret a*b; }
static long mul(long a, long b) { ret a*b; }
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: 448 / 493
Version history: 5 change(s)
Referenced in: [show references]