Better value for _pi. Give 0 a margin of error.

Use macros for the margins of error in typecast.c