Libraryless. Click here for Pure Java version (42L/1K).
static double baseDownZeroToOne(double min, double p) { ret 1-doubleRatio(1-p, 1-min); }
Began life as a copy of #1032209
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036064 |
Snippet name: | baseDownZeroToOne - scale from [min; 1] to [0; 1] |
Eternal ID of this version: | #1036064/1 |
Text MD5: | b339b2e9ba54cb18d216d174df15bf30 |
Transpilation MD5: | d08b3177348fac6836c81c759b6a3c64 |
Author: | stefan |
Category: | javax / math |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-05 01:42:01 |
Source code size: | 92 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 126 / 180 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |