Skip to content

Why was the double-precision experiment removed? #17870

Answered by jakevdp
robertmaxton42 asked this question in General
Discussion options

You must be logged in to vote

Hi - thanks for the question! double-double was my first project when I joined the JAX team. We removed it because the computational approach was untenable in JAX at the time: it relies on having predictable rounding errors for operations between floating point numbers, and as soon as you pass such operations to the compiler it tends to fuse them in a way that break the assumptions that double-double is built on. On top of that, I found there was not any straightforward way to do doubled-precision computations of operations beyond simple element-wise addition, subtraction, multiplication, and division: in particular, I could think of no way to do performant doubled-precision matmuls on GP…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robertmaxton42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants