Точность превыше всего

    Date: 11/25/06 (Code WTF)    Keywords: mysql, sql

    //pi to 1000 decimals. If you want more accuracy, bring it out even further. I dont think that you
    //would want to have it any more accurate than this anyways hehe.
    $pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117
    06798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493
    03819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602
    49141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951
    94151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793
    81830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748
    18467669405132000568127145263560827785771342757789609173637178721468440901224953430146549585371050
    79227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105
    97317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083
    81420617177669147303598253490428755468731159562863882353787593751957781857780532171226806613001927
    8766111959092164201989;

    А дальше эта переменная идет в матоперации в SQL запрос для MySQL

    Source: http://community.livejournal.com/code_wtf/59207.html

« Linux kernel и его... || Что за... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home