# \#floating-point

**URL:** https://discuss.ocaml.org/tag/floating-point/588.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] New package: floatml](https://discuss.ocaml.org/t/ann-new-package-floatml/18431)

<div class="topic-metadata">

**Author:** [@N1ark](https://discuss.ocaml.org/u/N1ark)\
**Replies:** 2\
**Last updated:** [August 11, 2026, 4:10pm UTC](https://discuss.ocaml.org/t/ann-new-package-floatml/18431 "2026-08-11T16:10:33Z")

</div>

Hi :​) Wanted to announce a new package I worked on over the past week I just published, floatml! It’s a tiny wrapper around Rust’s soft float library (rustc\_apfloat), enabling fast and efficient IEEE-754 float16, float3…

---

## [Fun with floats](https://discuss.ocaml.org/t/fun-with-floats/15140)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 3\
**Last updated:** [August 16, 2024, 7:24am UTC](https://discuss.ocaml.org/t/fun-with-floats/15140 "2024-08-16T07:24:22Z")

</div>

I am on a x86\_64 machine, in the ocaml-5.1.0 toplevel: # 1.0 = 1.0 -. min\_float;; - : bool = true I was surprised by this one. So, I looked for the smallest float I can get that have the desired behavior: 1.0 = 1.0 -…

---

## [When are floating-point registers used in OCaml?](https://discuss.ocaml.org/t/when-are-floating-point-registers-used-in-ocaml/11978)

<div class="topic-metadata">

**Author:** [@otini](https://discuss.ocaml.org/u/otini)\
**Replies:** 3\
**Last updated:** [April 19, 2023, 9:07am UTC](https://discuss.ocaml.org/t/when-are-floating-point-registers-used-in-ocaml/11978 "2023-04-19T09:07:37Z")

</div>

I was wondering when OCaml, on x86\_64, uses floating-point registers xmm0-15? I know they can be used when passing unboxed floats to and from C functions. Are they also used in other cases? Does it depend on flambda bein…
