Subject: RE: Bandwidth encoding in draft-ietf-mpls-generalized-signaling-0 0.txt

From: "Arvind, K" <[email-masked]>
Date: Fri, 27 Oct 2000 12:21:19 -0400

Attached is the output of a little C program that dumps floating point
values in hex (unsigned long l = *(unsigned long *)&f). It confirms my
observation that the encodings provided assume units of bits/sec rather than
bytes/sec, and therefore conflict with the units specified earlier in the
draft.

Regards,
Arvind

  6.4e+04    : 477a0000
 1.544e+06  : 49bc7a00
 2.048e+06  : 49fa0000
 6.312e+06  : 4ac0a080
 8.448e+06  : 4b00e800
     1e+07  : 4b189680
        34  : 42080000
  3.68e+08  : 4daf79e0
 4.474e+07  : 4c2aa780
 5.184e+07  : 4c45c100
     1e+08  : 4cbebc20
 1.393e+08  : 4d04d000
 1.555e+08  : 4d1450c0
 6.221e+08  : 4e1450c0
     1e+09  : 4e6e6b28
 2.488e+09  : 4f1450c0
 9.953e+09  : 501450c0
     1e+10  : 501502f9

     8000   : 45fa0000
  1.93e+05  : 483c7a00
  2.56e+05  : 487a0000
  7.89e+05  : 4940a080
 1.056e+06  : 4980e800
  1.25e+06  : 49989680
      4.25  : 40880000
   4.6e+07  : 4c2f79e0
 5.592e+06  : 4aaaa780
  6.48e+06  : 4ac5c100
  1.25e+07  : 4b3ebc20
 1.741e+07  : 4b84d000
 1.944e+07  : 4b9450c0
 7.776e+07  : 4c9450c0
  1.25e+08  : 4cee6b28
  3.11e+08  : 4d9450c0
 1.244e+09  : 4e9450c0
  1.25e+09  : 4e9502f9

PS: The encoding that I computed for 8000 bytes/sec in my previous message
doesn't quite match the above table because of a few silly errors. Please
ignore that computation.