GetComplex64 returns the value of the complex64 pointer passed in or 0 if the pointer is nil.
(c *complex64)
| 30 | |
| 31 | // GetComplex64 returns the value of the complex64 pointer passed in or 0 if the pointer is nil. |
| 32 | func 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. |
| 40 | func GetComplex128(c *complex128) complex128 { |
no outgoing calls
searching dependent graphs…