Lines Matching +defs:n +defs:digits
63 IoStatementState &io, const DataEdit &edit, void *n, std::size_t bytes) {
74 // Count significant digits after any leading white space & zeroes
75 int digits{0};
99 if (digits++ == 0) {
116 "B/O/Z input of %d digits overflows %zd-byte variable", digits, bytes);
119 // Reset to start of significant digits
123 std::memset(n, 0, bytes);
125 auto *data{reinterpret_cast<unsigned char *>(n) +
127 int bitsAfterFirstDigit{(digits - 1) * LOG2_BASE};
132 while (digits > 0) {
142 --digits;
189 void *n, int kind, bool isSigned) {
201 return EditBOZInput<1>(io, edit, n, kind);
203 return EditBOZInput<3>(io, edit, n, kind);
205 return EditBOZInput<4>(io, edit, n, kind);
207 return EditCharacterInput(io, edit, reinterpret_cast<char *>(n), kind);
295 std::memcpy(n, &l, kind);
297 std::memcpy(n, &value, kind); // a blank field means zero
353 // Subtle: a blank field of digits could be followed by 'E' or 'D',
414 radixPointOffset = got - start; // # of digits before the radix point
488 // Adjust exponent by number of digits before the radix point.
497 // digits in the value to be interpreted as being to the *right* of
499 exponent += got - start - edit.digits.value_or(0);
574 IoStatementState &io, const DataEdit &edit, void *n) {
599 if (edit.digits.value_or(0) != 0) {
604 if (*q == '.' || *q == 'n' || *q == 'N') {
634 *reinterpret_cast<decimal::BinaryFloatingPointNumber<PRECISION> *>(n) =
681 // Consume excess digits
763 IoStatementState &io, const DataEdit &edit, void *n) {
765 if (TryFastPathRealDecimalInput<binaryPrecision>(io, edit, n)) {
845 *reinterpret_cast<decimal::BinaryFloatingPointNumber<binaryPrecision> *>(n) =
860 IoStatementState &io, const DataEdit &edit, void *n) {
866 return EditCommonRealInput<KIND>(io, edit, n);
873 return EditCommonRealInput<KIND>(io, edit, n);
875 return EditBOZInput<1>(io, edit, n,
878 return EditBOZInput<3>(io, edit, n,
881 return EditBOZInput<4>(io, edit, n,
884 return EditCharacterInput(io, edit, reinterpret_cast<char *>(n), KIND);