AsFloat64 sets the value of the number to a float64.
(f float64)
| 60 | // AsFloat64 sets the value of the |
| 61 | // number to a float64. |
| 62 | func (n *Number) AsFloat64(f float64) { |
| 63 | n.typ = Float64Type |
| 64 | n.bits = math.Float64bits(f) |
| 65 | } |
| 66 | |
| 67 | // Int casts the number as an int64, and |
| 68 | // returns whether or not that was the |
no outgoing calls