# \`reinterpret\` to a single value from an array of a smaller data type

**URL:** https://discourse.julialang.org/t/reinterpret-to-a-single-value-from-an-array-of-a-smaller-data-type/9932
**Category:** General Usage
**Created:** [March 23, 2018, 11:56pm UTC](https://discourse.julialang.org/t/reinterpret-to-a-single-value-from-an-array-of-a-smaller-data-type/9932 "2018-03-23T23:56:38Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![y4lu](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@y4lu](https://discourse.julialang.org/u/y4lu)
#### Post date: [March 24, 2018, 4:59am UTC](https://discourse.julialang.org/t/reinterpret-to-a-single-value-from-an-array-of-a-smaller-data-type/9932/6 "2018-03-24T04:59:17Z")

</div>

There was also a thread about converting bits to ints, where a way to [wrap a type](https://discourse.julialang.org/t/covert-bitarray-to-int64/9193/5) for bit access came up that may be handy. There doesn’t appear to be binary `&` methods defined for float types in 0.6 though

---

_[View the full topic](https://discourse.julialang.org/t/reinterpret-to-a-single-value-from-an-array-of-a-smaller-data-type/9932)._
