mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Fix float64_range example
This commit is contained in:
@@ -432,7 +432,7 @@ Example:
|
|||||||
Possible Output:
|
Possible Output:
|
||||||
|
|
||||||
15.312
|
15.312
|
||||||
673.130
|
273.15
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@(require_results) float64_range :: proc(low, high: f64, gen := context.random_generator) -> (val: f64) {
|
@(require_results) float64_range :: proc(low, high: f64, gen := context.random_generator) -> (val: f64) {
|
||||||
@@ -467,7 +467,7 @@ Example:
|
|||||||
Possible Output:
|
Possible Output:
|
||||||
|
|
||||||
15.312
|
15.312
|
||||||
273.130
|
273.15
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@(require_results) float32_range :: proc(low, high: f32, gen := context.random_generator) -> (val: f32) {
|
@(require_results) float32_range :: proc(low, high: f32, gen := context.random_generator) -> (val: f32) {
|
||||||
|
|||||||
Reference in New Issue
Block a user