I need high precision for a project I'm working on. The problem I have is illustrated here when substracting:
>> 1-0.9999999999999999
ans = 1.1102e-16
>> 1-0.99999999999999999
ans = 0
I know it's related to the double precision. Is there anyway I could get a higher precision? I checked the "vpa" function but I can't manage to get higher precision. Could someone help me with this?
Thank you in advance!