Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DNativeFormatting.cpp164 void llvm::write_double(raw_ostream &S, double N, FloatStyle Style, in write_double()
177 if (Style == FloatStyle::Exponent) in write_double()
179 else if (Style == FloatStyle::ExponentUpper) in write_double()
188 if (Style == FloatStyle::Exponent || Style == FloatStyle::ExponentUpper) { in write_double()
197 if (Style == FloatStyle::ExponentUpper) in write_double()
208 if (Style == FloatStyle::ExponentUpper) in write_double()
240 if (Style == FloatStyle::Percent) in write_double()
246 if (Style == FloatStyle::Percent) in write_double()
254 size_t llvm::getDefaultPrecision(FloatStyle Style) { in getDefaultPrecision()
256 case FloatStyle::Exponent: in getDefaultPrecision()
[all …]
H A Draw_ostream.cpp214 llvm::write_double(*this, N, FloatStyle::Exponent); in operator <<()
H A DZ3Solver.cpp945 write_double(OS << K << ": ", V, FloatStyle::Fixed); in print()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DNativeFormatting.h18 enum class FloatStyle { Exponent, ExponentUpper, Fixed, Percent }; enum
25 LLVM_ABI size_t getDefaultPrecision(FloatStyle Style);
44 LLVM_ABI void write_double(raw_ostream &S, double D, FloatStyle Style,
H A DFormatProviders.h306 FloatStyle S;
308 S = FloatStyle::Percent;
310 S = FloatStyle::Fixed;
312 S = FloatStyle::ExponentUpper;
314 S = FloatStyle::Exponent;
316 S = FloatStyle::Fixed;