aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-21 18:37:57 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-04-21 18:37:57 +0200
commit47f889569f0f2f373899cea991dac22a446b8564 (patch)
tree2bcd9635da2e977007847efac1750abc51cbbd44 /core/math
parentab5ca087a7a64e2085edd955b403da0e8bc2c4f0 (diff)
Fix float64_range example
Diffstat (limited to 'core/math')
-rw-r--r--core/math/rand/rand.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/rand/rand.odin b/core/math/rand/rand.odin
index c556702bd..56208931f 100644
--- a/core/math/rand/rand.odin
+++ b/core/math/rand/rand.odin
@@ -432,7 +432,7 @@ Example:
Possible Output:
15.312
- 673.130
+ 273.15
*/
@(require_results) float64_range :: proc(low, high: f64, gen := context.random_generator) -> (val: f64) {
@@ -467,7 +467,7 @@ Example:
Possible Output:
15.312
- 273.130
+ 273.15
*/
@(require_results) float32_range :: proc(low, high: f32, gen := context.random_generator) -> (val: f32) {