# Class: scalartype

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

## Hierarchy

    o-+ mathlib
      o-+ scalartype

## Methods:

### Method overview:

- bin2value
- float32
- float64
- int16
- int32
- int8
- size
- uint16
- uint32
- uint8
- value2bin

bin2value
  (value):(scalartype, string) converts binary string into value.
float32 ()
  returns: ([scalartype])
  32-bit signed float. No range limit. Saturate: [0,1]
float64 ()
  returns: ([scalartype])
  64-bit signed float. WARNING: not useable in scalararray yet! No range limit. Saturate: [0,1]
int16 ()
  returns: ([scalartype])
  16-bit signed integer. Range: [-32767,32767]
int32 ()
  returns: ([scalartype])
  32-bit signed integer. Range: [-2147483647,2147483647] Saturate/Normalize: same as int16
int8 ()
  returns: ([scalartype])
  8-bit signed integer. Range: [-127,127]
size
  (int bytes):(scalartype, [int count]) returns size in bytes.
uint16 ()
  returns: ([scalartype])
  16-bit unsigned integer. Range: [0,65535]
uint32 ()
  returns: ([scalartype])
  32-bit unsigned integer. Range: [0,4294967295] Saturate/Normalize: same as uint16
uint8 ()
  returns: ([scalartype])
  8-bit unsigned integer. Range: [0,255]
value2bin
  (string):(scalartype, value) converts value into binary string.

## Inherited Methods:

### From mathlib

quatslerpq, quatslerpqt