Make clearBits nan and infinity friendly.
Make some of the codes more nan friendly.
Merge branch 'master' of https://github.com/corvette-berkeley/shadow-execution