AsFloat32 sets the value of the number to a float32.
(f float32)
| 53 | // AsFloat32 sets the value of the number |
| 54 | // to a float32. |
| 55 | func (n *Number) AsFloat32(f float32) { |
| 56 | n.typ = Float32Type |
| 57 | n.bits = uint64(math.Float32bits(f)) |
| 58 | } |
| 59 | |
| 60 | // AsFloat64 sets the value of the |
| 61 | // number to a float64. |
no outgoing calls
no test coverage detected