float32: float32

View source: R/01-constructor.r

float32R Documentation

float32

Description

A float32 class constructor. For developers only.

Usage

float32(x)

Arguments

x

Input data of type integer.

Details

Wraps the integer-type data in the float32 S4 class, so that the data will be interpreted as 32-bit floats.

If instead you merely want to convert numeric/double data to float type, instead you should call fl(x).

Value

A float32 class object.


float documentation built on Feb. 16, 2023, 6:43 p.m.