Generator/Exponential: Difference between revisions

→‎{{header|Go}}: replaced dropped comment. (darn it! sorry for the extra edit)
(→‎{{header|Go}}: changes to meet task description)
(→‎{{header|Go}}: replaced dropped comment. (darn it! sorry for the extra edit))
Line 78:
}
 
// this long function name to indicate that the filtering
// logic works only because squares and cubes are both
// monotonically increasing over the specified domain
// of non-negative integers.
func genMonotonicIncA_NotMonotonicIncB(outCh chan<- float64,
aCh, bCh <-chan float64) {
Line 100 ⟶ 104:
go genMonotonicIncA_NotMonotonicIncB(chF, chSq, chCu)
 
// collect results
for i := 0; i < 20; i++ {
<-chF
1,707

edits