book icon indicating copy to clipboard operation
book copied to clipboard

Support for big numbers

Open pliniker opened this issue 5 years ago • 0 comments

Numbers that overflow (size_of::<isize>() * 8) - 2 bits should be stored in NumberObject objects.

I have no experience implementing number objects and I understand that there may be commonly used or standard schemes and/or libraries? Needs an expert.

Depends on #22

  • implement NumberObject (we can rename this)
  • extend VM arithmetic opcodes to handle number objects
  • extend book chapter from #22

pliniker avatar Jul 07 '20 20:07 pliniker