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

Function GetComplex128

value.go:40–45  ·  view source on GitHub ↗

GetComplex128 returns the value of the complex128 pointer passed in or 0 if the pointer is nil.

(c *complex128)

Source from the content-addressed store, hash-verified

38
39// GetComplex128 returns the value of the complex128 pointer passed in or 0 if the pointer is nil.
40func GetComplex128(c *complex128) complex128 {
41 if c == nil {
42 return 0
43 }
44 return *c
45}
46
47// GetError returns the value of the error pointer passed in or nil if the pointer is nil.
48func GetError(e *error) error {

Callers 1

TestComplex128Function · 0.85

Calls

no outgoing calls

Tested by 1

TestComplex128Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…