MCPcopy Index your code
hub / github.com/AlekSi/pointer / GetComplex64

Function GetComplex64

value.go:32–37  ·  view source on GitHub ↗

GetComplex64 returns the value of the complex64 pointer passed in or 0 if the pointer is nil.

(c *complex64)

Source from the content-addressed store, hash-verified

30
31// GetComplex64 returns the value of the complex64 pointer passed in or 0 if the pointer is nil.
32func GetComplex64(c *complex64) complex64 {
33 if c == nil {
34 return 0
35 }
36 return *c
37}
38
39// GetComplex128 returns the value of the complex128 pointer passed in or 0 if the pointer is nil.
40func GetComplex128(c *complex128) complex128 {

Callers 1

TestComplex64Function · 0.85

Calls

no outgoing calls

Tested by 1

TestComplex64Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…