static double normalizeTo0to1(double x) { ret Math.min(Math.max(x, 0), 1); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1007919 | 
| Snippet name: | normalizeTo0to1 | 
| Eternal ID of this version: | #1007919/1 | 
| Text MD5: | 2f6a1b695917a68350f052afec1e797f | 
| Author: | stefan | 
| Category: | javax / maths | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-04-17 15:07:50 | 
| Source code size: | 80 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 701 / 744 | 
| Referenced in: | [show references] |