From: kevbrick Brick on
I've a simple question:

I have a script that calculates a p-value, which is often a tiny number (i.e. 1e-80). I need the script to return the 1-p value but retain the precision. When I try to do this, matlab always returns 1 for p-values below 1e-15. Can anyone tell me how to retain the precision of the calculation ?

Thanks in advance