---
title: "f64_from_bits"
url: https://una-lang.org/en/docs/std/prelude/f64_from_bits/
release: v0.4.0
edition: "0.3, 0.4, 0.5 preview"
source: https://github.com/una-lang/una/blob/v0.4.0/docs/std/listing.json
---

# f64_from_bits

A function of the prelude, in scope in every module. Edition 0.3, 0.4, 0.5 preview.

```una
pub f64_from_bits(bits: U64) -> F64
```

The `F64` with the bits `bits`; any NaN gives the canonical NaN (`spec/29 §3`).

## Specification

- [`spec/29 §3`](https://una-lang.org/en/docs/spec/29-numerics/3-operations/#s3)

Generated from the standard modules of una v0.4.0 ([`docs/std/listing.json`](https://github.com/una-lang/una/blob/5fec93d88932b333feec25e589355a2cb34c37b5/docs/std/listing.json), which is not part of the specification). The specification governs: [`spec/14 §1`](https://una-lang.org/en/docs/spec/14-standard-library/#s1).
