(data, false, result);
}

SLD_STATUS __cdecl convert_hexadecimal_string_to_floating_type(
    floating_point_string const& data,
    _LDBL12                    & result
    ) throw()
{
    return common_convert_to_ldbl12(data, true, result);
}

} // namespace __crt_strtox

using namespace __crt_strtox;



static int __cdecl transform_into_return_value(SLD_STATUS const status) throw()
{
    switch (status)
    {
    case SLD_OVERFLOW:  return _OVERFLOW;
    case SLD_UNDERFLOW: return _UNDERFLOW;
    default:            return 0;
    }
}

// The internal mantissa length in ints
#define INTRNMAN_LEN 3

// Internal mantissaa representation for string conversion routines
typedef uint32_t* mantissa_t;


// Tests whether a mantissa ends in nbit zeroes.  Returns true if all mantissa
// bits after (and including) nbit are zero; returns false otherwise.
static __forceinline bool __cdecl mantissa_has_zero_tail(mantissa_t const mantissa, int const nbit) throw()
{
    int nl = nbit / 32;
    int const nb = 31 - nbit % 32;

    //
    //             |<---- tail to be checked --->
    //
    //    --  ------------------------           ----
    //    |...    |          |  ...      |
    //    --  ------------------------           ----
    //    ^    ^    ^
    //    |    |    |<----nb----->
    //    man    nl   nbit
    //

    uint32_t const bitmask = ~(UINT32_MAX << nb);

    if (mantissa[nl] & bitmask)
        return false;

    ++nl;

    for (; nl < INTRNMAN_LEN; ++nl)
    {
        if (mantissa[nl])
            return false;
    }

    return true;
}



// Increments a mantissa.  The nbit argument specifies the end of the part to
// be incremented.  Returns true if overflow occurs; false otherwise.
static __forceinline bool __cdecl increment_mantissa(mantissa_t const mantissa, int const nbit) throw()
{
    int nl = nbit / 32;
    int const nb = 31 - nbit % 32;

    //
    //    |<--- part to be incremented -->|
    //
    //    -------------
Domain                       PLMCoreType           OpenBulkFactory OpenFactory                 SaveFactory                 Nature      CNextType


VPMCfgEffectivity            PLMConnection         NONE            CATPCCConnectionFactory     CATPCCConnectionFactory     BASIC       NONE

VPMCfgConfiguration          PLMConnection         NONE            CATPCCConnectionFactory     CATPCCConnectionFactory     BASIC       NONE

VPMCfgApplicability          PLMConnection         NONE            CATPCCConnectionFactory     CATPCCConnectionFactory     BASIC       NONE

VPMCfgContext                PLMConnection         NONE            CATPCCConnectionFactory     CATPCCConnectionFactory     BASIC       NONE

VPMCfgInstanceConfiguration  PLMConnection         NONE            CATPCCConnectionFactory     CATPCCConnectionFactory     BASIC       NONE
