GetComplex128 returns the value of the complex128 pointer passed in or 0 if the pointer is nil.
(c *complex128)
| 38 | |
| 39 | // GetComplex128 returns the value of the complex128 pointer passed in or 0 if the pointer is nil. |
| 40 | func 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. |
| 48 | func GetError(e *error) error { |
no outgoing calls
searching dependent graphs…