You are here

private property DecoderTest::$floats in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/Reader/DecoderTest.php \MaxMind\Db\Test\Reader\DecoderTest::floats

File

includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/Reader/DecoderTest.php, line 54

Class

DecoderTest

Namespace

MaxMind\Db\Test\Reader

Code

private $floats = array(
  '0.0' => array(
    0x4,
    0x8,
    0x0,
    0x0,
    0x0,
    0x0,
  ),
  '1.0' => array(
    0x4,
    0x8,
    0x3f,
    0x80,
    0x0,
    0x0,
  ),
  '1.1' => array(
    0x4,
    0x8,
    0x3f,
    0x8c,
    0xcc,
    0xcd,
  ),
  '3.14' => array(
    0x4,
    0x8,
    0x40,
    0x48,
    0xf5,
    0xc3,
  ),
  '9999.99' => array(
    0x4,
    0x8,
    0x46,
    0x1c,
    0x3f,
    0xf6,
  ),
  '-1.0' => array(
    0x4,
    0x8,
    0xbf,
    0x80,
    0x0,
    0x0,
  ),
  '-1.1' => array(
    0x4,
    0x8,
    0xbf,
    0x8c,
    0xcc,
    0xcd,
  ),
  '-3.14' => array(
    0x4,
    0x8,
    0xc0,
    0x48,
    0xf5,
    0xc3,
  ),
  '-9999.99' => array(
    0x4,
    0x8,
    0xc6,
    0x1c,
    0x3f,
    0xf6,
  ),
);