unflop: unflop

Description Usage Arguments Details Value

Description

Convert a flops object into a numeric.

Usage

1
unflop(x)

Arguments

x

A flops object.

Details

This function differs from a simple as.numeric() call in that flops objects store the unit flops. So if you have a flops object x that prints "10 MFLOPS", as.numeric(x) would produce 10, while unflop() would produce 10000000.

Value

The number of flops represented by x.


shinra-dev/okcpuid documentation built on May 29, 2019, 9:25 p.m.