FLINT3.7.0-dev

_dfloat_get_arf, _dfloat_set_arf, _dfloat_get_arb, _dfloat_set_arb, _dfloat_part_get_arb, _dfloat_set_str, _dfloat_get_str, _dfloat_complex_get_str, _dfloat_randtest, _dfloat_randtest_special, _dfloat_randtest_rad

Synopsis#include <flint/dfloat.h>
void _dfloat_get_arf(arf_t res, const double * x, int n)source
void _dfloat_set_arf(double * res, int n, double * err, const arf_t x)source
void _dfloat_get_arb(arb_t res, const double * x, int n, double rad)source
void _dfloat_set_arb(double * res, double * rad, int n, const arb_t x)source
int _dfloat_part_get_arb(arb_t res, const double * x, int n, int ball)source
int _dfloat_set_str(double * res, double * rad, int n, const char * s)source
char * _dfloat_get_str(const double * x, int n, double rad, slong digits)source
char * _dfloat_complex_get_str(const double * re, const double * im, int n, double rrad, double irad, slong digits)source
void _dfloat_randtest(double * res, int n, flint_rand_t state)source
void _dfloat_randtest_special(double * res, int n, flint_rand_t state)source
double _dfloat_randtest_rad(flint_rand_t state)source

The implementations of the conversions, strings and random generation for a run-time number of components n. A negative radius rad in the string functions means a plain (non-ball) value.

Cite this page

The FLINT team, “_dfloat_get_arf, _dfloat_set_arf, _dfloat_get_arb, _dfloat_set_arb, _dfloat_part_get_arb, _dfloat_set_str, _dfloat_get_str, _dfloat_complex_get_str, _dfloat_randtest, _dfloat_randtest_special, _dfloat_randtest_rad (dfloat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/dfloat/_dfloat_get_arf.html (generated 2026-10-20).