ClickHouse/tests/queries/0_stateless/01013_hex_float.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
395 B
MySQL
Raw Normal View History

2019-09-20 16:40:06 +00:00
SELECT hex(1.0);
SELECT hex(101.);
SELECT hex(1e+18);
SELECT hex(1e-20);
SELECT hex(1e+100);
SELECT hex(0.000578);
SELECT hex(-123.978);
SELECT hex(toFloat32(99.67));
SELECT hex(toFloat32(number)) FROM numbers(200, 2);
SELECT hex(toFloat64(number)) FROM numbers(202, 2);