Utility that converts from prettyPrint format back to double (e.g. 10M = 10 000 000)
Summary: Utility is doing reverse of prettyPrint. This is a first sketch. Test Plan: 1) We can reverse all tests from prettyPrint test and use for our function. For now I just reversed several of them 2) We can also test prettyPrint and prettyToDouble together by checking whether prettyToDouble(prettyPrint(X)) == X. This is implemented. Reviewed By: marcelo.juchem@fb.com FB internal diff: D1159879
Showing
Please register or sign in to comment