I have two questions regarding .NET's decimal
data type determinism:
Are
decimal
type computations cross-platform deterministic? Or in other words, will math operations ondecimal
type produce exactly the same results on all platforms?Is casting
decimal
number tofloat
ordouble
cross-platform deterministic (casts will always produce exactly the same result)?