1 | static double relativeToRange(double x, DoubleRange r) { |
2 | ret doubleRatio(x-r.start, r.length()); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035504 |
Snippet name: | relativeToRange |
Eternal ID of this version: | #1035504/2 |
Text MD5: | d11d0477a27f3be7da19021e48fd05ed |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-30 18:46:47 |
Source code size: | 102 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 116 / 131 |
Version history: | 1 change(s) |
Referenced in: | [show references] |