pitrou commented on code in PR #184:
URL: https://github.com/apache/parquet-format/pull/184#discussion_r957063147


##########
LogicalTypes.md:
##########
@@ -245,6 +245,18 @@ comparison.
 To support compatibility with older readers, implementations of parquet-format 
should
 write `DecimalType` precision and scale into the corresponding SchemaElement 
field in metadata.
 
+### Half-precision floating-point
+
+Also known as `float16`. Used in contexts where precision is traded off for 
performance and efficient storage.
+
+It is stored as a two-byte fixed-length binary, following the 16-bit IEEE 
standards:
+
+* 1 sign bit
+* 5 bits exponent
+* 10 bits mantissa/significand
+
+sign (mantissa) * 10^exponent

Review Comment:
   ```suggestion
   The primitive type is a 2-byte fixed length binary.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to