Transpiled version (4760L) is out of date.
1 | ifndef div_noHTML |
2 | sS div(O contents, O... params) {
|
3 | ret hdiv(contents, params); |
4 | } |
5 | |
6 | sS div() {
|
7 | ret hdiv(); |
8 | } |
9 | endifndef |
10 | |
11 | static BigInt div(BigInt a, BigInt b) {
|
12 | ret a.divide(b); |
13 | } |
14 | |
15 | static BigInt div(BigInt a, int b) {
|
16 | ret a.divide(bigint(b)); |
17 | } |
18 | |
19 | ifclass Complex |
20 | static Complex div(Complex a, double b) {
|
21 | ret Complex(a.re/b, a.im/b); |
22 | } |
23 | endif |
24 | |
25 | static double div(double a, double b) { ret a/b; }
|
26 | static double div(double a, int b) { ret a/b; }
|
27 | static long div(long a, long b) { ret a/b; }
|
28 | static int div(int a, int b) { ret a/b; } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003125 |
| Snippet name: | div - make HTML <div>; also: divide BigIntegers, Complex and even doubles |
| Eternal ID of this version: | #1003125/14 |
| Text MD5: | 93f415536045211f6b59b25a962d55e1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-16 22:52:18 |
| Source code size: | 562 bytes / 28 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1161 / 1334 |
| Version history: | 13 change(s) |
| Referenced in: | [show references] |