Home
last modified time | relevance | path

Searched refs:FirstSignificant (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp4103 unsigned FirstSignificant = N - FormatPrecision; in AdjustToPrecision() local
4110 if (buffer[FirstSignificant - 1] < '5') { in AdjustToPrecision()
4111 while (FirstSignificant < N && buffer[FirstSignificant] == '0') in AdjustToPrecision()
4112 FirstSignificant++; in AdjustToPrecision()
4114 exp += FirstSignificant; in AdjustToPrecision()
4115 buffer.erase(&buffer[0], &buffer[FirstSignificant]); in AdjustToPrecision()
4121 for (unsigned I = FirstSignificant; I != N; ++I) { in AdjustToPrecision()
4123 FirstSignificant++; in AdjustToPrecision()
4131 if (FirstSignificant == N) { in AdjustToPrecision()
4132 exp += FirstSignificant; in AdjustToPrecision()
[all …]