# \#float

**URL:** https://erlangforums.com/tag/float/565.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Float self-tagging](https://erlangforums.com/t/float-self-tagging/4221)

<div class="topic-metadata">

**Author:** [@josevalim](https://erlangforums.com/u/josevalim)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 9:36am UTC](https://erlangforums.com/t/float-self-tagging/4221 "2024-11-29T09:36:15Z")

</div>

I found this interesting paper today: \[2411.16544\] Float Self-Tagging The problem statement: Dynamic and polymorphic languages must attach information, such as types, to run time objects, and therefore adapt the memor…

---

## [Use of single precision floats instead of doubles in the Erlang runtime](https://erlangforums.com/t/use-of-single-precision-floats-instead-of-doubles-in-the-erlang-runtime/3613)

<div class="topic-metadata">

**Author:** [@peerst](https://erlangforums.com/u/peerst)\
**Replies:** 11\
**Last updated:** [May 27, 2024, 7:25pm UTC](https://erlangforums.com/t/use-of-single-precision-floats-instead-of-doubles-in-the-erlang-runtime/3613 "2024-05-27T19:25:24Z")

</div>

While specifying the hardware design for GRiSP-nano another evaluation board that will explore how low power we can run a full blown Erlang VM directly on hardware (it will be powered by temperature gradient energy harve…

---

## [In Erlang/OTP 27, +0.0 will no longer be exactly equal to -0.0](https://erlangforums.com/t/in-erlang-otp-27-0-0-will-no-longer-be-exactly-equal-to-0-0/2586)

<div class="topic-metadata">

**Author:** [@bjorng](https://erlangforums.com/u/bjorng)\
**Replies:** 20\
**Last updated:** [September 23, 2023, 9:04am UTC](https://erlangforums.com/t/in-erlang-otp-27-0-0-will-no-longer-be-exactly-equal-to-0-0/2586 "2023-09-23T09:04:19Z")

</div>

Currently, the floating point numbers 0.0 and -0.0 have distinct internal representations. That can be seen if they are converted to binaries: 1\> \<\<0.0/float\>\>. \<\<0,0,0,0,0,0,0,0\>\> 2\> \<\<-0.0/float\>\>. \<\<128,0,0,0,0,0,0,0\>…

---

## [How do I parse a binary into a 32 bit float?](https://erlangforums.com/t/how-do-i-parse-a-binary-into-a-32-bit-float/2216)

<div class="topic-metadata">

**Author:** [@Fylke](https://erlangforums.com/u/Fylke)\
**Replies:** 2\
**Last updated:** [December 30, 2022, 2:14pm UTC](https://erlangforums.com/t/how-do-i-parse-a-binary-into-a-32-bit-float/2216 "2022-12-30T14:14:57Z")

</div>

I’m playing around with binaries, and in the docs it says that floats can be either 64, 32, or 16 bits. I can parse 64 bits just fine, but I can’t figure out how to parse 32: 55\> \<\<A/float\>\> = \<\<1,17,0,42,43,11,24,11\>\>.…
