ClickHouse/tests/queries/0_stateless/00364_java_style_denormals.sql

57 lines
1.1 KiB
MySQL
Raw Normal View History

2016-08-16 21:44:28 +00:00
SELECT
toFloat64('inf'),
toFloat64('-inf'),
toFloat64('INF'),
toFloat64('-INF'),
toFloat64('Infinity'),
toFloat64('-Infinity'),
toFloat64('nan'),
toFloat64('-nan'),
toFloat64('NAN'),
toFloat64('-NAN'),
toFloat64('NaN'),
toFloat64('-NaN'),
toFloat64OrZero('in'),
toFloat64OrZero('-in'),
toFloat64OrZero('INFi'),
toFloat64OrZero('-INFi'),
toFloat64OrZero('Infinit'),
toFloat64OrZero('-Infinit'),
toFloat64OrZero('na'),
toFloat64OrZero('-na'),
toFloat64OrZero('NANo'),
toFloat64OrZero('-NANo'),
toFloat64OrZero('NaN+'),
toFloat64OrZero('-NaNa'),
2016-08-16 21:45:35 +00:00
toFloat64OrZero('+Na'),
2016-08-16 21:44:28 +00:00
toFloat32('inf'),
toFloat32('-inf'),
toFloat32('INF'),
toFloat32('-INF'),
toFloat32('Infinity'),
toFloat32('-Infinity'),
toFloat32('nan'),
toFloat32('-nan'),
toFloat32('NAN'),
toFloat32('-NAN'),
toFloat32('NaN'),
toFloat32('-NaN'),
toFloat32OrZero('in'),
toFloat32OrZero('-in'),
toFloat32OrZero('INFi'),
toFloat32OrZero('-INFi'),
toFloat32OrZero('Infinit'),
toFloat32OrZero('-Infinit'),
toFloat32OrZero('na'),
toFloat32OrZero('-na'),
toFloat32OrZero('NANo'),
toFloat32OrZero('-NANo'),
toFloat32OrZero('NaN+'),
toFloat32OrZero('-NaNa'),
toFloat32OrZero('+Na')
2017-12-03 05:38:14 +00:00
FORMAT TabSeparated;