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

3
LINES

< > BotCompany Repo | #1033259 // frac_nonNeg - return fraction, but always non-negative

JavaX fragment (include)

1  
static double frac_nonNeg(double d) {
2  
  ret mod(d, 1);
3  
}

Author comment

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: 157 / 2304
Referenced in: [show references]