VirtualBox

Ignore:
Timestamp:
Mar 16, 2022 1:34:29 AM (3 years ago)
Author:
vboxsync
Message:

iprt/types.h,VMM,ValKit,IPRT: Dropped the bit counts in member prefixes in the RTFLOATxxU types and added a RTFLOAT32U. Added some fld [mem] tests. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformatnum.cpp

    r94257 r94261  
    355355#ifdef RT_COMPILER_GROKS_64BIT_BITFIELDS
    356356    return rtStrFormatR80Worker(pszBuf, cbBuf, pr80Value->sj64.fSign, pr80Value->sj64.fInteger,
    357                                 pr80Value->sj64.u63Fraction, pr80Value->sj64.uExponent, fFlags);
     357                                pr80Value->sj64.uFraction, pr80Value->sj64.uExponent, fFlags);
    358358#else
    359359    return rtStrFormatR80Worker(pszBuf, cbBuf, pr80Value->sj.fSign, pr80Value->sj.fInteger,
     
    368368{
    369369    RT_NOREF(cchWidth, cchPrecision);
    370     return rtStrFormatR80Worker(pszBuf, cbBuf, pr80Value->s.fSign, pr80Value->s.u64Mantissa >> 63,
    371                                 pr80Value->s.u64Mantissa & (RT_BIT_64(63) - 1), pr80Value->s.uExponent, fFlags);
    372 }
    373 
     370    return rtStrFormatR80Worker(pszBuf, cbBuf, pr80Value->s.fSign, pr80Value->s.uMantissa >> 63,
     371                                pr80Value->s.uMantissa & (RT_BIT_64(63) - 1), pr80Value->s.uExponent, fFlags);
     372}
     373
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette