Home
last modified time | relevance | path

Searched refs:as_float (Results 1 – 12 of 12) sorted by relevance

/openbsd/gnu/llvm/libcxx/src/
H A Dstring.cpp189 inline V as_float(const string& func, const S& s, size_t* idx = nullptr);
192 inline float as_float(const string& func, const string& s, size_t* idx) { in as_float() function
197 inline double as_float(const string& func, const string& s, size_t* idx) { in as_float() function
208 inline float as_float(const string& func, const wstring& s, size_t* idx) { in as_float() function
213 inline double as_float(const string& func, const wstring& s, size_t* idx) { in as_float() function
246 return as_float<float>("stof", str, idx); in stof()
250 return as_float<double>("stod", str, idx); in stod()
254 return as_float<long double>("stold", str, idx); in stold()
279 return as_float<float>("stof", str, idx); in stof()
283 return as_float<double>("stod", str, idx); in stod()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Drt-16221.t6 # - Math::BigInt::objectify() calls as_float() if the target object class is
69 sub as_float {
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Dbigrat.t512 # as_float()
515 my $f = $x->as_float();
518 is($f, '0.5', 'as_float(0.5)');
521 $f = $x->as_float(5);
524 is($f, '0.66667', 'as_float(2/3, 5)');
528 $f = $x->as_float();
532 'as_float(3141592653589793238462643383279502884197169399375106, 5)');
/openbsd/lib/libcbor/src/cbor/
H A Dencoding.c130 uint32_t val = ((union _cbor_float_helper){.as_float = value}).as_uint; in cbor_encode_half()
182 ((union _cbor_float_helper){.as_float = value}).as_uint, buffer, in cbor_encode_single()
H A Ddata.h148 float as_float; member
/openbsd/lib/libcbor/src/cbor/internal/
H A Dloaders.c74 return helper.as_float; in _cbor_load_float()
/openbsd/gnu/llvm/clang/lib/Headers/
H A Dopencl-c-base.h264 #define NAN as_float(INT_MAX)
610 #define as_float(x) __builtin_astype((x), float) macro
/openbsd/gnu/llvm/clang/lib/Headers/ppc_wrappers/
H A Dmmintrin.h53 float as_float[2]; member
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm1285 sub as_float { subroutine
4809 $a[$i] = $a[$i] -> as_float();
H A DBigFloat.pm1318 sub as_float { subroutine
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/
H A DBigRat.pm2225 sub as_float { subroutine
/openbsd/gnu/usr.bin/perl/pod/
H A Dperl589delta.pod723 implements new C<as_float> method.