diff options
author | Greg Kaiser <gkaiser@google.com> | 2016-10-12 21:42:07 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-10-12 21:42:07 +0000 |
commit | bfc225a68a00cce964df4927aa381556d6609e28 (patch) | |
tree | 9ec0c7707a33ebfc46ffc4ffbb4fbf67f62afee5 /inc | |
parent | ab78db05f639ca7e93da7aaca5c5827dbf86e787 (diff) | |
parent | 1c638a5af2d2e7c776310696a8c6f4717faf10d8 (diff) | |
download | contexthub-bfc225a68a00cce964df4927aa381556d6609e28.tar.gz |
CHRE API: Document float/double requirements am: 5ebeca0a88 am: 4bb0566678
am: 1c638a5af2
Change-Id: Ic14990b14b7ce54bcf42664499be193d21fc09c1
Diffstat (limited to 'inc')
-rw-r--r-- | inc/chre.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -114,6 +114,22 @@ */ /** + * Floating point support. + * + * The C type 'float' is used in this API, and thus a CHRE implementation + * is required to support 'float's. + * + * Support of the C types 'double' and 'long double' is optional for a + * CHRE implementation. Note that if a CHRE decides to support them, unlike + * 'float' support, there is no requirement that this support is particularly + * efficient. So nanoapp authors should be aware this may be inefficient. + * + * If a CHRE implementation choses not to support 'double' or + * 'long double', then the build toolchain setup provided needs to set + * the preprocessor define CHRE_NO_DOUBLE_SUPPORT. + */ + +/** * CHRE and Nanoapp compatibility. * * The Android N release introduces the first version of this API. |