# Do FFTW.jl and Quadmath.jl work together automatically?

**URL:** <https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237>\
**Category:** Numerics\
**Tags:** question, fftw\
**Created:** [July 7, 2021, 9:53pm UTC](https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237 "2021-07-07T21:53:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnomotani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnomotani/32/26753_2.png) [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Post date:** [July 7, 2021, 9:53pm UTC](https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237/1 "2021-07-07T21:53:28Z")

</div>

If some Arrays (or whatever) are defined using the `Float128` type from `Quadmath.jl`, will operations from `FFTW.jl` be done in quad precision? The FFTW library itself supports quad-precision ([Precision (FFTW 3.3.10)](http://www.fftw.org/fftw3_doc/Precision.html)), but I couldn’t find any mention of precision in the `FFTW.jl` README or issues/PRs.

---

<div class="post-metadata">

**Author:** ![cgeoga](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cgeoga/32/216186_2.png) [@cgeoga](https://discourse.julialang.org/u/cgeoga)\
**Post date:** [July 7, 2021, 10:21pm UTC](https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237/2 "2021-07-07T22:21:54Z")

</div>

Looks like [no](https://github.com/JuliaMath/AbstractFFTs.jl/blob/master/src/definitions.jl#L18), FFTW and AbstractFFTs only work out of the box with BLAS floats.

---

<div class="post-metadata">

**Author:** ![johnomotani](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnomotani/32/26753_2.png) [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Post date:** [July 7, 2021, 10:27pm UTC](https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237/3 "2021-07-07T22:27:48Z")

</div>

Thanks for the info @cgeoga

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [July 8, 2021, 6:38am UTC](https://discourse.julialang.org/t/do-fftw-jl-and-quadmath-jl-work-together-automatically/64237/4 "2021-07-08T06:38:59Z")

</div>

[Native Julia FFTW · Issue #209 · JuliaMath/FFTW.jl · GitHub](https://github.com/JuliaMath/FFTW.jl/issues/209) _cough_ 😁
