Complex128p constructs a field that carries a *complex128. The returned Field will safely and explicitly represent `nil` when appropriate.
(key string, val *complex128)
| 94 | // Complex128p constructs a field that carries a *complex128. The returned Field will safely |
| 95 | // and explicitly represent `nil` when appropriate. |
| 96 | func Complex128p(key string, val *complex128) Field { |
| 97 | if val == nil { |
| 98 | return nilField(key) |
| 99 | } |
| 100 | return Complex128(key, *val) |
| 101 | } |
| 102 | |
| 103 | // Complex64 constructs a field that carries a complex number. Unlike most |
| 104 | // numeric fields, this costs an allocation (to convert the complex64 to |