MsgPack.jl icon indicating copy to clipboard operation
MsgPack.jl copied to clipboard

Add support for complex numbers

Open BambOoxX opened this issue 3 years ago • 0 comments

  • Support for ComplexF32 (magic byte 0x28) and ComplexF64 (magic byte 0x29)
  • Solves #44
  • Works only on arrays

I know that the MsgPack specification does not support this out of the box, it is rather a proposal than a finalized solution. Also it may be preferable to do this using a true extension type, rather than simply taking some magic bytes as I did.

BambOoxX avatar May 26 '21 14:05 BambOoxX