Float64 constructs a constant symbol that contains a float64.
(floatNum float64)
| 316 | |
| 317 | // Float64 constructs a constant symbol that contains a float64. |
| 318 | func Float64(floatNum float64) Constant { |
| 319 | return Constant{Float64Type, "", int64(math.Float64bits(floatNum)), nil, nil} |
| 320 | } |
| 321 | |
| 322 | // Time constructs a time instant constant from nanoseconds since Unix epoch (1970-01-01 00:00:00 UTC). |
| 323 | // The valid range is approximately 1678 to 2262 CE. |
no outgoing calls