php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66326
Patch power-two revision 2013-12-19 21:16 UTC by ivo dot urbanek at yahoo dot co dot uk

Patch power-two for *General Issues Bug #66326

Patch version 2013-12-19 21:16 UTC

Return to Bug #66326 | Download this patch
Patch Revisions:

Developer: ivo.urbanek@yahoo.co.uk

    
    $A=1; $B=6.911824E4; $C=3.95554E8;
    
    $D = $B^2-4*$A*$C; $sqr=sqrt($D);   echo "diskriminant = $D <br>";

    $D = $B*$B;    echo "B*B = $D  <br>";
    $D = $B^2;     echo "B^2 = $D  <br>"; # <-- Here is deferent number !!!
    

    
    $D = $B*$B;    echo "B*B = $D  <br>";
    $D = 4*$A*$C; echo "4*A*C = $D <br>";
    
    
    $s1 = -$B+($sqr/(2*$A));
    $s2 = -$B-($sqr/(2*$A));

    $s=$s1;
    $b = $A*$s^2 + $B*$s + $C;

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 20:00:02 2026 UTC