Long time ago when computers were 32-bit I used to write something like this in C++:
inline double pi()
{
__asm fldpi;
}
On old enough compilers, this will get you 80-bit version of pi, more precision than even double. Completely useless now, modern compilers no longer emit x87 code.