static double frac_nonNeg(double d) { ret mod(d, 1); }
Began life as a copy of #1032024
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj, podlckwnjdmb, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1033259 |
| Snippet name: | frac_nonNeg - return fraction, but always non-negative |
| Eternal ID of this version: | #1033259/1 |
| Text MD5: | 5dabb5c0c389b1065df8e5def11460f3 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-17 23:22:06 |
| Source code size: | 58 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 375 / 2533 |
| Referenced in: | [show references] |