Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/unittests/Decimal/
H A Dquick-sanity-test.cpp29 static_cast<enum DecimalConversionFlags>(flags), 1024, RoundNearest, x)}; in testDirect()
44 static_cast<enum DecimalConversionFlags>(flags), 1024, RoundNearest, x)}; in testReadback()
59 auto rflags{ConvertDecimalToFloat(&p, &y, RoundNearest)}; in testReadback()
H A Dthorough-test.cpp41 static_cast<enum DecimalConversionFlags>(flags), 1024, RoundNearest, x)}; in testReadback()
57 auto rflags{ConvertDecimalToFloat(&p, &y, RoundNearest)}; in testReadback()
/llvm-project-15.0.7/flang/include/flang/Decimal/
H A Ddecimal.h47 RoundNearest, /* RN and RP */ enumerator
105 enum FortranRounding = RoundNearest, const char *end = nullptr);
/llvm-project-15.0.7/flang/lib/Decimal/
H A Dbig-radix-floating-point.h68 enum FortranRounding rounding = RoundNearest)
73 Real, enum FortranRounding = RoundNearest);
363 enum FortranRounding rounding_ { RoundNearest }; in RemoveLeastOrderZeroDigits() enumerator
H A Ddecimal-to-binary.cpp162 case RoundNearest: in LoseLeastSignificantDigit()
271 case RoundNearest: in ToBinary()
H A Dbinary-to-decimal.cpp153 case RoundNearest: in ConvertToDecimal()
/llvm-project-15.0.7/flang/runtime/
H A Denvironment.h44 decimal::FortranRounding::RoundNearest}; // RP(==PN)
H A Denvironment.cpp47 decimal::FortranRounding::RoundNearest; // RP(==RN) in Configure()
H A Dformat-implementation.h110 modes.round = decimal::RoundNearest; in HandleControl()
H A Dio-stmt.cpp1189 case decimal::FortranRounding::RoundNearest: in Inquire()
H A Dio-api.cpp661 io.mutableModes().round = decimal::RoundNearest; in IONAME()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp615 return decimal::RoundNearest; // dodge gcc warning about lack of result in MapRoundingMode()
711 static_cast<int>(sizeof buffer), decimal::RoundNearest, value)}; in AsFortran()