# DoubleFloats.jl is markedly improved

**URL:** https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444
**Category:** Package Announcements
**Created:** [July 24, 2026, 8:13am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444 "2026-07-24T08:13:39Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [July 24, 2026, 8:13am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/1 "2026-07-24T08:13:39Z")

</div>

The new release 1.11 is faster (use it) and much more uniformly accurate (accuracy is quite stable throughout function domains, even at the more tricky regions). Yes, faster and more accurate.

[Benchmark](https://juliamath.github.io/DoubleFloats.jl/dev/benchmark_report/)  
[Accuracy](https://juliamath.github.io/DoubleFloats.jl/dev/accuracy_report/)

---

<div class="post-metadata">

### Author: ![dmolina](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmolina/32/5246_2.png) [@dmolina](https://discourse.julialang.org/u/dmolina)
#### Post date: [July 24, 2026, 9:54am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/2 "2026-07-24T09:54:11Z")

</div>

The results in comparisons with BigFloat are great!  
However, at first the name of the package is a big strange, because in many programming language double is mainly 64 bits, while Double64 in your package is the double of Float64, so it has more decimal numbers than I was expecting.  
However, it is a great work! I will note it to use it when I want a more precision than Float64, because clearly it is a lot more performance than BigFloat.

---

<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: [July 24, 2026, 12:57pm UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/3 "2026-07-24T12:57:42Z")

</div>

How does it compare now to Multifloats.jl?

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [July 24, 2026, 1:24pm UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/4 "2026-07-24T13:24:27Z")

</div>

Good question. Had not looked.  
It is slower by too much. Working on that now,

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [July 24, 2026, 10:30pm UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/5 "2026-07-24T22:30:49Z")

</div>

Now, (v1.11.1) both exp and log are faster than MultiFloats.jl. Their accuracies are quite similar to MultiFloats. They exhibit better stability over difficult intervals.

DoubleFloats exp and log are ~50% faster.

N.B.: The current implementations of exp, log in DoubleFloats began with adapting MultiFloats.jl (David K. Zhang) algorithms for exp, log, Additional modifications and minor restructurings combine to enhance performance.

---

<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: [July 25, 2026, 12:01am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/6 "2026-07-25T00:01:33Z")

</div>

How did you get log that much faster?

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [July 25, 2026, 2:38am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/7 "2026-07-25T02:38:03Z")

</div>

There are two paths available to compute log, I choose the appropriate path very early. This lets me do less work than an alternative implementation.

---

<div class="post-metadata">

### Author: ![photor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/photor/32/14343_2.png) [@photor](https://discourse.julialang.org/u/photor)
#### Post date: [July 25, 2026, 7:25am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/8 "2026-07-25T07:25:55Z")

</div>

How is the GPU implementation now?

---

<div class="post-metadata">

### Author: ![JeffreySarnoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeffreysarnoff/32/1980_2.png) [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)
#### Post date: [July 29, 2026, 6:34am UTC](https://discourse.julialang.org/t/doublefloats-jl-is-markedly-improved/138444/9 "2026-07-29T06:34:24Z")

</div>

I have a GPU version in development. Contact me to get at it.

Running Double32 on a GPU for matrix multiplication is much slower than running the matrix multiplication using Float64s on the CPU. The DoubleDouble structure does not appear to lend itself to GPU fastness. If you know better .. tell me.
