Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> However this technique relies on printing the value of the double-precision approximation of pi to 33 digits, and up to VC++ 2013 this doesn’t work

How can an IDE prevent printing a number? If all else fails, you can reinterpret_cast it to integer and handle the bits yourself?



First, a nitpick: VC++ is a compiler toolchain (including libraries), not just an IDE.

Also, the next sentence:

    So, you either need *custom printing code* or you need to wait for Dev 14 which has improved printing code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: