|
@@ -8,35 +8,39 @@ a:double | b:double
|
|
|
;
|
|
|
|
|
|
inDouble
|
|
|
+required_capability: fix_precision_of_scaled_float_fields
|
|
|
from employees | keep emp_no, height, height.float, height.half_float, height.scaled_float | where height in (2.03, 2.0299999713897705, 2.029296875, 2.0300000000000002) | sort emp_no;
|
|
|
|
|
|
emp_no:integer |height:double |height.float:double |height.half_float:double |height.scaled_float:double
|
|
|
-10001 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
-10090 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
+10001 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
+10090 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
;
|
|
|
|
|
|
inFloat
|
|
|
+required_capability: fix_precision_of_scaled_float_fields
|
|
|
from employees | keep emp_no, height, height.float, height.half_float, height.scaled_float | where height.float in (2.03, 2.0299999713897705, 2.029296875, 2.0300000000000002) | sort emp_no;
|
|
|
|
|
|
emp_no:integer |height:double |height.float:double |height.half_float:double |height.scaled_float:double
|
|
|
-10001 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
-10090 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
+10001 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
+10090 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
;
|
|
|
|
|
|
inHalfFloat
|
|
|
+required_capability: fix_precision_of_scaled_float_fields
|
|
|
from employees | keep emp_no, height, height.float, height.half_float, height.scaled_float | where height.half_float in (2.03, 2.0299999713897705, 2.029296875, 2.0300000000000002) | sort emp_no;
|
|
|
|
|
|
emp_no:integer |height:double |height.float:double |height.half_float:double |height.scaled_float:double
|
|
|
-10001 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
-10090 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
+10001 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
+10090 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
;
|
|
|
|
|
|
inScaledFloat
|
|
|
+required_capability: fix_precision_of_scaled_float_fields
|
|
|
from employees | keep emp_no, height, height.float, height.half_float, height.scaled_float | where height.scaled_float in (2.03, 2.0299999713897705, 2.029296875, 2.0300000000000002) | sort emp_no;
|
|
|
|
|
|
emp_no:integer |height:double |height.float:double |height.half_float:double |height.scaled_float:double
|
|
|
-10001 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
-10090 |2.03 |2.0299999713897705 |2.029296875 |2.0300000000000002
|
|
|
+10001 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
+10090 |2.03 |2.0299999713897705 |2.029296875 |2.03
|
|
|
;
|
|
|
|
|
|
convertFromDouble
|