In our current approach to manipulating complex numbers in JS, we have identified a significant issue affecting the accuracy of computations. When we pack a single-precision complex number into a single data structure, and then unpack it, we have observed a numerical error in the calculations. Over large computations, this error accumulates, leading to a substantial overall numerical discrepancy.
Need: To implement a more reliable method for packing and unpacking complex numbers in javascript that preserves precision.
In our current approach to manipulating complex numbers in JS, we have identified a significant issue affecting the accuracy of computations. When we pack a single-precision complex number into a single data structure, and then unpack it, we have observed a numerical error in the calculations. Over large computations, this error accumulates, leading to a substantial overall numerical discrepancy.
Need: To implement a more reliable method for packing and unpacking complex numbers in javascript that preserves precision.