Compatibility with dimensional-0.12.
Compatibility with latest QC.
Not sure why this edit was made. Will revert with next commit.
Use (~==) instead of custom approx.