symbolic math - How to compare sym variable from vpa in matlab? -


assume have 2 variables 300 digits of precision:

a = vpa(sqrt(2),300); b = vpa(sqrt(3),300); 

i want know whether (b-a) > (1e-15) true or false. should do?

i think looking this:

double(b-a)>(1e-15) 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -