I ask because I am computing matrix multiplications where all the matrix values are integers.
I'd like to use LAPACK so that I get fast code that is correct. Will two large integers (whose product is less than 2^53
), stored as double
s, when multiplied, yield a double
containing the exact integer result?