commit | de0a3a893f85afbb34a6ee83ec4a5a860230faf7 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Oct 20 12:37:21 2016 -0700 |
committer | Romain Guy <romainguy@google.com> | Sat Oct 22 02:26:32 2016 -0700 |
tree | 2bd46a8e2c2735922709404e97b8dee98d6a68ac | |
parent | 9610c3a2a9937699c2ed27e292754b531f6e05ca [diff] |
Add a half-precision floating point type Denormals are fully supported. This will be useful to store wide-gamut colors in a compact form (a full RGBA color can be stored in a long using half floats for each component). Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest Change-Id: I7e071edd2b66fdf6b375ce0e3e1a72ec3fb635b5