A
ataha
I have a dll written in C# for a PDA application that uses doubles to
do mathematical operations (mean, slope, noise) on an array of readings
and produces electrolyte and gas readings in a sample of blood. I also
have a PC version of the PDA application that uses the very same dll
for calculating the results.
The problem is that the PDA application and the PC application are
producing different results.
I understand the inherent problems in using doubles to do arithmetic,
but shouldnt the errors be the same on the PDA and the PC since it is
using managed code ? Isnt the dll in intermediate language, and thus
shouldnt the results be exactly the same ?
I tried switching the doubles to decimals and im still seeing errors.
Is anyone aware of what would create such a discrepancy ?
thanks
Taha
do mathematical operations (mean, slope, noise) on an array of readings
and produces electrolyte and gas readings in a sample of blood. I also
have a PC version of the PDA application that uses the very same dll
for calculating the results.
The problem is that the PDA application and the PC application are
producing different results.
I understand the inherent problems in using doubles to do arithmetic,
but shouldnt the errors be the same on the PDA and the PC since it is
using managed code ? Isnt the dll in intermediate language, and thus
shouldnt the results be exactly the same ?
I tried switching the doubles to decimals and im still seeing errors.
Is anyone aware of what would create such a discrepancy ?
thanks
Taha