frexp

lpmoo-1.2/doc/builtins/frexp · 324 B

From the archive lpmoo-1.2.tar.gz

Download the archive   « Back to the archive contents

NAME
	frexp - split float into fraction and exponent

SYNOPSIS
	list frexp(float x)

DESCRIPTION
	The argument is split into a fraction f and an integer
	exponent n, such that either f == 0.0, or 0.5 <= | f | < 1.0,
	and f * 2 ** n == x. {f, n} is returned. If x == 0.0, both f
	and n will be zero.

SEE ALSO
	ldexp, modf

Site Stats

Snippets: 1791
Codebases: 571