Data Types

 

The following data types are included in the uCalc library:

 

Single

Single precision floating point

Double

Double precision floating point

Extended

Extended precision (80-bit long double) floating point

Byte

8-bit unsigned integer

Word

16-bit unsigned integer

Dword

32-bit unsigned integer

Integer

16-bit signed integer

Long

32-bit signed integer

Int64

64-bit signed integer

Currency

64-bit currency type

String

Dynamic multi-byte string with 1 byte/character

WideString

Dynamic Unicode string with 2-bytes/character

LPCSTR

Null-terminated string

FixedString

Fixed-length string

Stack

Multi-purpose stack list type

Table

Table

SortedList

Sorted list

Void

For routines where the return type is not needed

 

 

Default data type

 

It is best to use the default numeric and string types, unless you have defined native routines using other data types.  Otherwise internal conversions may take place, which can slow down operations.