Searched refs:as_float (Results 1 – 12 of 12) sorted by relevance
/openbsd/gnu/llvm/libcxx/src/ |
H A D | string.cpp | 189 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 D | rt-16221.t | 6 # - 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 D | bigrat.t | 512 # 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 D | encoding.c | 130 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 D | data.h | 148 float as_float; member
|
/openbsd/lib/libcbor/src/cbor/internal/ |
H A D | loaders.c | 74 return helper.as_float; in _cbor_load_float()
|
/openbsd/gnu/llvm/clang/lib/Headers/ |
H A D | opencl-c-base.h | 264 #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 D | mmintrin.h | 53 float as_float[2]; member
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/ |
H A D | BigInt.pm | 1285 sub as_float { subroutine 4809 $a[$i] = $a[$i] -> as_float();
|
H A D | BigFloat.pm | 1318 sub as_float { subroutine
|
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/ |
H A D | BigRat.pm | 2225 sub as_float { subroutine
|
/openbsd/gnu/usr.bin/perl/pod/ |
H A D | perl589delta.pod | 723 implements new C<as_float> method.
|