![]() They are not necessary in TinyGo because they always map to float32 and float64, but it's a good idea to add them regardless for compatibility with existing software. (Now I think about it, perhaps it would have been better to require explicit casts here just in case we want to support some really weird C system, but then again we even force 64-bit double on AVR even though avr-gcc defaults to 32-bit double). |
||
---|---|---|
.. | ||
cgo | ||
embed | ||
generics | ||
alias.go | ||
alias.txt | ||
atomic.go | ||
atomic.txt | ||
binop.go | ||
binop.txt | ||
calls.go | ||
calls.txt | ||
channel.go | ||
channel.txt | ||
corpus.yaml | ||
env.go | ||
env.txt | ||
filesystem.go | ||
filesystem.txt | ||
float.go | ||
float.txt | ||
gc.go | ||
gc.txt | ||
generics.go | ||
generics.txt | ||
goroutines.go | ||
goroutines.txt | ||
init.go | ||
init.txt | ||
init_multi.go | ||
init_multi.txt | ||
interface.go | ||
interface.txt | ||
json.go | ||
json.txt | ||
ldflags.go | ||
ldflags.txt | ||
map.go | ||
map.txt | ||
math.go | ||
math.txt | ||
print.go | ||
print.txt | ||
rand.go | ||
rand.txt | ||
recover.go | ||
recover.txt | ||
reflect.go | ||
reflect.txt | ||
slice.go | ||
slice.txt | ||
sort.go | ||
sort.txt | ||
stdlib.go | ||
stdlib.txt | ||
string.go | ||
string.txt | ||
structs.go | ||
structs.txt | ||
testing.go | ||
testing.txt | ||
timers.go | ||
timers.txt | ||
zeroalloc.go | ||
zeroalloc.txt |