Fix float64_range example
This commit is contained in:
1 parent
ab5ca087a7
commit
47f889569f
1 file changed
+2
-2
@@ -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