- Joined
- 5/9/06
- Messages
- 296
- Points
- 26
Hi,
I'm trying to get various viewpoints on this topic. The issue that I have is that I want my calculations to be as precise as possible. I know this comes at the cost of speed etc. I'd like to get different opinions on this so please post what you think the best method would be.
i know float gives u 7 digit precision, double gives u 15 and long double gives u 19 (is this machine dependent btw? or is it machine dependent how many bytes it uses up?). Is there more precision to be had without sacrificing too much speed? Your(quantnet community) opinions on this would be very helpful. For now I use double everywhere.
I'm trying to get various viewpoints on this topic. The issue that I have is that I want my calculations to be as precise as possible. I know this comes at the cost of speed etc. I'd like to get different opinions on this so please post what you think the best method would be.
i know float gives u 7 digit precision, double gives u 15 and long double gives u 19 (is this machine dependent btw? or is it machine dependent how many bytes it uses up?). Is there more precision to be had without sacrificing too much speed? Your(quantnet community) opinions on this would be very helpful. For now I use double everywhere.