# Smaller float types?

**URL:** <https://discourse.julialang.org/t/smaller-float-types/91029>\
**Category:** General Usage\
**Created:** [November 30, 2022, 5:24am UTC](https://discourse.julialang.org/t/smaller-float-types/91029 "2022-11-30T05:24:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jar1](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jar1](https://discourse.julialang.org/u/jar1)\
**Post date:** [November 30, 2022, 5:24am UTC](https://discourse.julialang.org/t/smaller-float-types/91029/1 "2022-11-30T05:24:19Z")

</div>

Where can I find small float types like 4-bit float? I don’t need high performance.

---

<div class="post-metadata">

**Author:** ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Post date:** [November 30, 2022, 5:26am UTC](https://discourse.julialang.org/t/smaller-float-types/91029/2 "2022-11-30T05:26:14Z")

</div>

```julia
setprecision(4)

```

?😁

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [November 30, 2022, 5:28am UTC](https://discourse.julialang.org/t/smaller-float-types/91029/3 "2022-11-30T05:28:33Z")

</div>

I don’t think such a thing exists. you’d have 16 values and only 8 of them would be finite.
