- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for F0 (0.01 sec)
-
doc/go_spec.html
for u = range 256 { } // invalid: 1e3 is a floating-point constant for range 1e3 { } // fibo generates the Fibonacci sequence fibo := func(yield func(x int) bool) { f0, f1 := 0, 1 for yield(f0) { f0, f1 = f1, f0+f1 } } // print the Fibonacci numbers below 1000: for x := range fibo { if x >= 1000 { break } fmt.Printf("%d ", x) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0)