283 "Internal error: this should have been handled by method checkStdFieldAgainstArgument")
327 #if ALIB_SIZEOF_INTEGER == 4
348 digits-= int((target->Length() - fieldStartIdx));
350 target->ShortenTo( fieldStartIdx +
placeholder.Width );
357 digits= int(
placeholder.Arg->GetPlaceholderUsageLength()
367 :
placeholder.Arg->GetPlaceholderUsageLength() == 1
369 :
placeholder.Arg->GetPlaceholderUsageLength() == 2
371 :
placeholder.Arg->GetPlaceholderUsageLength() == 4
372 #if ALIB_SIZEOF_INTEGER == 8
375 #elif ALIB_SIZEOF_INTEGER == 4
392 : double(
placeholder.Arg->UnboxUnsignedIntegral() );
397 auto classification= std::fpclassify(value);
400 if( classification != FP_NAN ) {
401 bool negative= std::signbit(value);
402 if( classification == FP_ZERO && negative ) {
418 if ( !HasBits(
placeholder.NF.Flags, NumberFormatFlags::WriteGroupChars) ||
placeholder.NF.ThousandsGroupChar ==
'\0')
441 target->_<
NC>(
'%' );
446 && ( target->IndexOf(
placeholder.NF.NANLiteral, oldTargetLength) >= 0
447 || target->IndexOf(
placeholder.NF.INFLiteral, oldTargetLength) >= 0 ) )
453 default:
ALIB_ERROR(
"FORMAT",
"Illegal switch state.")
break;
463 if( std::is_same<character, wchar>::value ) {
468 integer qtyWCharsAdded= target->
Substring<
NC>( oldTargetLength, target->
Length() - oldTargetLength ).WStringLength();
473 if( qtyWCharsAdded == target->
Length() - oldTargetLength )
478 else if( qtyWCharsAdded < 256) {