128 bit doubles in ruby?

In my ruby ​​code, I am talking to a server that responds to 128-bit doubling ("128-bit doubles", "binary128" or " four times the precision of floating points ") as strings in binary format.

Is there any way to unzip these lines for use in ruby? According to String.unpack's documentation , maximum precision seems to be doubled. Is it possible to represent these 128-bit floats in ruby?

+3
source share

Source: https://habr.com/ru/post/1793072/


All Articles