Lines Matching refs:string
171 "could not convert string to float: "
187 "could not convert string to float: "
238 "float() argument must be a string or a real number, not '%.200s'",
958 /* version of double_round that uses the correctly-rounded string<->double
971 /* round to a decimal string */
995 /* and convert the resulting string back to a double */
1221 /* convert a float to a hexadecimal string */
1292 /* Convert a hexadecimal string to a float. */
1298 string: object
1301 Create a floating-point number from a hexadecimal string.
1310 float_fromhex(PyTypeObject *type, PyObject *string)
1325 * (1) if exp > LONG_MAX/2 then the value of the hex string is
1328 * (2) if exp < LONG_MIN/2 then the value of the hex string is
1341 * raised. Otherwise, write x for the value of the hex string, and
1365 s = PyUnicode_AsUTF8AndSize(string, &length);
1371 * Parse the string *
1448 * Compute rounded value of the hex string *
1523 /* optional trailing whitespace leading to the end of the string */
1541 "invalid hexadecimal floating-point string");
1546 "hexadecimal string too long to convert");
1648 Convert a string or number to a floating point number, if possible.
1665 /* If it's a string, but not a string subclass, use
2141 /* The carry propagated out of a string of 10 1 bits. */
2227 /* The carry propagated out of a string of 23 1 bits. */
2341 /* The carry propagated out of a string of 24 1 bits. */