More strict ownership asserts
[mirrors/Programs.git] / php / skripty / pico.php
... / ...
CommitLineData
1<?php\r
2\r
3//Settings:\r
4$c = 999; //Higher number = better PI\r
5\r
6//Code:\r
7$pico = 0;\r
8\r
9$c1 = (180 / $c);\r
10echo ("Debug1: ".$c1."\n");\r
11\r
12$c2 = sin($c1);\r
13echo ("Debug2: ".$c2."\n");\r
14\r
15$pico = ( $c * $c2 );\r
16echo("Short PI: " . PI() . "\n Counted PI:\n");\r
17echo($pico);\r
18\r
19?>\r
This page took 0.307866 seconds and 4 git commands to generate.