jeudi 28 avril 2016

How to write and later read IEEE 754 double in SQLLite lossless?

According to sqlite docs

all numeric values are represented internally as an 18-digit decimal number with a 3-digit base-10 exponent.

I need to store IEEE 754 double (including all kinds of NaN, pos/neg infinity, etc.) and later read the same binary representation (IEEE 754 has unique representation), that is lossless. How to write and later read IEEE 754 double in SQLLite lossless?

Aucun commentaire:

Enregistrer un commentaire