Test, documentation and vim support for double precision constants

This commit is contained in:
Dmitry Babokin
2013-09-17 23:36:16 +04:00
parent ff547fc6cb
commit f45f6cb32a
3 changed files with 38 additions and 1 deletions

View File

@@ -270,6 +270,14 @@ new reserved words: ``unmasked``, ``foreach_unique``, ``foreach_active``,
and ``in``. Any program that happens to have a variable or function with
one of these names must be modified to rename that symbol.
Updating ISPC Programs For Changes In ISPC 1.4.5
----------------------------------------------
This release adds support for double precision floating point constants.
Double precision floating point constants are floating point number with
``d`` suffix and optional exponent part. Here are some examples: 3.14d,
31.4d-1, 1.d, 1.0d, 1d-2. Note that floating point number without suffix is
treated as single precision constant.
Getting Started with ISPC
=========================
@@ -1349,7 +1357,8 @@ but are likely to be supported in future releases:
* Bitfield members of ``struct`` types
* Variable numbers of arguments to functions
* Literal floating-point constants (even without a ``f`` suffix) are
currently treated as being ``float`` type, not ``double``
currently treated as being ``float`` type, not ``double``. To have a double
precision floating point constant use ``d`` suffix.
* The ``volatile`` qualifier
* The ``register`` storage class for variables. (Will be ignored).