Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goadesign/goa
/ Float32
Method
Float32
expr/random.go:144–146 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
142
return
r.rand.Int()%2 == 0
143
}
144
func
(r *FakerRandomizer) Float32() float32 {
145
return
r.rand.Float32()
146
}
147
func
(r *FakerRandomizer) Float64() float64 {
148
return
r.rand.Float64()
149
}
Callers
nothing calls this directly
Calls
1
Float32
Method · 0.65
Tested by
no test coverage detected