Transpiled version (3976L) is out of date.
1 | static DoubleRange scaleDoubleRange(DoubleRange r, double factor) { |
2 | ret r == null ?: DoubleRange(r.start*factor, r.end*factor); |
3 | } |
4 | |
5 | static DoubleRange scaleDoubleRange(double factor, DoubleRange r) { |
6 | ret scaleDoubleRange(r, factor); |
7 | } |
Began life as a copy of #1024580
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032982 |
Snippet name: | scaleDoubleRange |
Eternal ID of this version: | #1032982/2 |
Text MD5: | 261ec70d541617196cb127e340cd5b14 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 17:12:05 |
Source code size: | 239 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 292 |
Version history: | 1 change(s) |
Referenced in: | [show references] |