WOLFRAM

"CFloat" (Compiled Type)

[Experimental]

"CFloat"

represents the C float type.

Details

  • "CFloat" is a macro that is replaced with a platform-specific concrete type. On most platforms, "CFloat" is a macro for "Real32".

Examples

Basic Examples  (2)Summary of the most common use cases

Compile a function that takes a "CFloat" as input:

Out[1]=1
Out[2]=2

Create a constant with type "CFloat":

Out[1]=1
Out[2]=2