From: Rasmus Lerdorf Date: Mon, 1 Apr 2013 23:27:09 +0000 (-0700) Subject: The printf modifier for a double is just %f X-Git-Tag: php-5.6.0alpha1~448^2~57^2~22^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=527ac404a124a574321bdcc209fd4f30d05d7144;p=php The printf modifier for a double is just %f --- diff --git a/.gdbinit b/.gdbinit index e7a565dfa9..b14b03da9f 100644 --- a/.gdbinit +++ b/.gdbinit @@ -106,7 +106,7 @@ define dump_bt printf "%ld", $zvalue->value.lval end if $type == 2 - printf "%lf", $zvalue->value.dval + printf "%f", $zvalue->value.dval end if $type == 3 if $zvalue->value.lval @@ -185,7 +185,7 @@ define ____printzv_contents printf "long: %ld", $zvalue->value.lval end if $type == 2 - printf "double: %lf", $zvalue->value.dval + printf "double: %f", $zvalue->value.dval end if $type == 3 printf "bool: "