[Xorp-hackers] [greearb/xorp.ct] 41cc1c: Support for IEEE754 binary64 format in XRLs

noreply at github.com noreply at github.com
Mon Sep 12 15:15:46 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: 41cc1c9f57ea984319cc18d0d699708fcc170e5d
      https://github.com/greearb/xorp.ct/commit/41cc1c9f57ea984319cc18d0d699708fcc170e5d
  Author: Steven Simpson <ss at comp.lancs.ac.uk>
  Date:   2011-09-12 (Mon, 12 Sep 2011)

  Changed paths:
    M xorp/libxipc/SConscript
  A xorp/libxipc/fp64.h
  A xorp/libxipc/fp64serial.c
  A xorp/libxipc/fp64serial.h
  M xorp/libxipc/tests/SConscript
  A xorp/libxipc/tests/test_fp64.cc
  M xorp/libxipc/tests/test_xrl_args.cc
  M xorp/libxipc/tests/test_xrl_atom.cc
  M xorp/libxipc/xrl_args.cc
  M xorp/libxipc/xrl_args.hh
  M xorp/libxipc/xrl_atom.cc
  M xorp/libxipc/xrl_atom.hh
  M xorp/rtrmgr/xorp_client.cc
  M xorp/xrl/interfaces/test.xif
  M xorp/xrl/scripts/Xif/xiftypes.py

  Log Message:
  -----------
  Support for IEEE754 binary64 format in XRLs

* New atom type fp64

* <libxipc/fp64.h> selects alias fp64_t for most compatible
  native C type.  Native type's characteristics are echoed with
  corresponding macros (analogous to DBL_MIN, etc).

* <libxipc/fp64serial.h> (de)serializes fp64_t into
  uint_fast64_t.

* New methods for fp64_t added on XrlAtom and XrlArgs.

* Added fp64 to xif types, mapping to fp64_t in C++ and double
  for Thrift.

* Extended atom and args tests to include fp64_t.

* Added fp64_t serialization test.  (It always succeeds for now,
  but might be useful for diagnostics.)

* Added method to test XIF to demonstrate fp64 type.

Signed-off-by: Steven Simpson <ss at comp.lancs.ac.uk>




More information about the Xorp-hackers mailing list