# Class: scalartype

Defines what type of scalar value is used in native C.

## Hierarchy

    o-+ mathlib
      o-+ scalartype

## Methods:

### Method overview:

- float
- int16
- int32
- int8
- size
- uint16
- uint32
- uint8

float
  ([scalartype]):() 32-bit signed float. No range limit. Saturate: [0,1]
int16
  ([scalartype]):() 16-bit signed integer. Range: [-32767,32767]
int32
  ([scalartype]):() 32-bit signed integer. Range: [-2147483647,2147483647] Saturate/Normalize: same as int16
int8
  ([scalartype]):() 8-bit signed integer. Range: [-127,127]
size
  (int bytes):(scalartype, [int count]) returns size in bytes.
uint16
  ([scalartype]):() 16-bit unsigned integer. Range: [0,65535]
uint32
  ([scalartype]):() 32-bit unsigned integer. Range: [0,4294967295] Saturate/Normalize: same as uint16
uint8
  ([scalartype]):() 8-bit unsigned integer. Range: [0,255]

## Inherited Methods:

### From mathlib

quatslerpq, quatslerpqt