double bugfix

This commit is contained in:
Daniil Gentili 2017-08-28 19:38:09 +02:00
parent 52eaa053a8
commit 9417e49a2b

View File

@ -106,7 +106,7 @@ trait Tools
return pack('V', $value);
}
public function pack_signed_double($value)
public function pack_double($value)
{
$res = pack('d', $value);
if (strlen($res) !== 8) {