aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-08 16:41:28 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-08 16:41:28 -0800
commitdb552f56dc1f2c6ea19a7d39d38ac66e52ed156e (patch)
tree4024c1c34884650c6c9791f860d084fd600c9c09
parent1f47f1aa285a9c22af45995f53a3a1a11dc91ba3 (diff)
Autoformat
-rw-r--r--core/math.nom10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/math.nom b/core/math.nom
index 94f9b12..decb0bc 100644
--- a/core/math.nom
+++ b/core/math.nom
@@ -178,11 +178,11 @@ externally ($lo to $hi mixed by $amount) means:
return ((1 - $) * $lo + $ * $hi)
test:
- assume ([0,1,11] mixed by 0.00) == 0
- assume ([0,1,11] mixed by 0.25) == 0.5
- assume ([0,1,11] mixed by 0.50) == 1
- assume ([0,1,11] mixed by 0.75) == 6
- assume ([0,1,11] mixed by 1.00) == 11
+ assume ([0, 1, 11] mixed by 0.0) == 0
+ assume ([0, 1, 11] mixed by 0.25) == 0.5
+ assume ([0, 1, 11] mixed by 0.5) == 1
+ assume ([0, 1, 11] mixed by 0.75) == 6
+ assume ([0, 1, 11] mixed by 1.0) == 11
assume ([99] mixed by 0.5) == 99
externally ($nums mixed by $amount) means: