fallenoak 46ae3a042e Ruby: Support reading and writing x86 FPU stack registers (#892)
In order to reduce rounding problems from calculations, FPU stack
registers for x86 architectures contain values stored in an
80-bit extended precision format.

As a result, reading and writing to these registers requires
specific handling.

This update brings the Ruby bindings in line with the Python
bindings by supporting reading and writing the FPU stack registers
using 2-element arrays: [mantissa, exponent]

The mantissa array element contains the first 64 bits of the FPU
stack register.

The exponent array element contains the last 16 bits of the FPU
stack register.
2017-09-17 22:44:30 +07:00
..
2017-01-29 08:13:17 +08:00
2016-03-22 12:26:12 +01:00
2016-03-27 21:15:45 +02:00
2016-03-27 21:31:34 +02:00
2016-03-27 21:38:46 +02:00
2016-03-27 21:44:09 +02:00
2017-01-29 08:13:17 +08:00
2017-05-22 20:46:30 +08:00

Installation

Software requirements

Linux

  • ruby >= 1.9.3
  • rubygems
  • make
  • gcc

Mac OS

  • ruby >= 1.9.3
  • rubygems
  • make
  • XCode

Install unicorn

  • cd path_to_unicorn
  • ./make.sh install

Install ruby binding

  • cd bindings/ruby
  • make install