Transpiled version (91L) is out of date.
static Pt neg(Pt p) { ret p ?: Pt(-p.x, -p.y); } meta-for int also as double { static int neg(int i) { ret -i; } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030574 |
| Snippet name: | neg |
| Eternal ID of this version: | #1030574/3 |
| Text MD5: | f51e42b05191016628f64689f596697f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-19 04:25:40 |
| Source code size: | 125 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 765 / 981 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |