Home
last modified time | relevance | path

Searched refs:decimal (Results 1 – 25 of 90) sorted by relevance

1234

/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Drelocation-addend.yaml5 ## Case 1.1: Document we accept any hex/decimal addends in [INT64_MIN, UINT64_MAX].
11 # RUN: yaml2obj %s -o %t64.decimal.max -DADDEND=18446744073709551615
17 # RUN: yaml2obj %s -o %t64.decimal.first.pos -DADDEND=1
23 # RUN: yaml2obj %s -o %t64.decimal.null -DADDEND=0
29 # RUN: yaml2obj %s -o %t64.decimal.first.neg -DADDEND=-1
35 # RUN: yaml2obj %s -o %t64.decimal.min -DADDEND=-9223372036854775808
78 # RUN: yaml2obj --docnum=2 %s -o %t32.decimal.max -DADDEND=4294967295
84 # RUN: yaml2obj --docnum=2 %s -o %t32.decimal.first.pos -DADDEND=1
90 # RUN: yaml2obj --docnum=2 %s -o %t32.decimal.null -DADDEND=0
96 # RUN: yaml2obj --docnum=2 %s -o %t32.decimal.first.neg -DADDEND=-1
[all …]
H A Dsection-type.yaml10 # CHECK: Name: decimal
26 - Name: decimal
/llvm-project-15.0.7/llvm/test/tools/llvm-ml/
H A Dradix_errors.asm6 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
30 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
32 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
37 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
42 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
46 ; CHECK: :[[# @LINE + 1]]:10: error: invalid decimal number
/llvm-project-15.0.7/flang/runtime/
H A Dedit-output.cpp261 flags |= decimal::AlwaysSign; in EditEorDOutput()
271 flags |= decimal::Minimize; in EditEorDOutput()
306 decimal::ConversionToDecimalResult converted{ in EditEorDOutput()
348 int trailingZeroes{flags & decimal::Minimize in EditEorDOutput()
387 flags |= decimal::AlwaysSign; in EditFOutput()
391 flags |= decimal::Minimize; in EditFOutput()
400 decimal::ConversionToDecimalResult converted{ in EditFOutput()
436 rounding = decimal::FortranRounding::RoundToZero; in EditFOutput()
451 int trailingZeroes{flags & decimal::Minimize in EditFOutput()
497 flags |= decimal::AlwaysSign; in EditForGOutput()
[all …]
H A Dedit-input.cpp219 char32_t decimal{GetDecimalPoint(edit)}; in ScanRealInput() local
251 } else if (first == decimal || (first >= '0' && first <= '9') || in ScanRealInput()
269 } else if (ch == decimal && !decimalPoint) { in ScanRealInput()
362 if (flags & decimal::ConversionResultFlags::Overflow) { in RaiseFPExceptions()
365 if (flags & decimal::ConversionResultFlags::Inexact) { in RaiseFPExceptions()
368 if (flags & decimal::ConversionResultFlags::Invalid) { in RaiseFPExceptions()
397 decimal::ConversionToBinaryResult<PRECISION> converted{ in TryFastPathRealInput()
399 if (converted.flags & (decimal::Invalid | decimal::Overflow)) { in TryFastPathRealInput()
434 if (converted.flags != decimal::ConversionResultFlags::Exact) { in TryFastPathRealInput()
498 decimal::ConversionToBinaryResult<binaryPrecision> converted{ in EditCommonRealInput()
[all …]
H A Dedit-output.h41 static bool IsInfOrNaN(const decimal::ConversionToDecimalResult &res) { in IsInfOrNaN()
69 decimal::BinaryFloatingPointNumber<binaryPrecision>;
87 decimal::ConversionToDecimalResult Convert(
88 int significantDigits, enum decimal::FortranRounding, int flags = 0);
H A Denvironment.h43 enum decimal::FortranRounding defaultOutputRoundingMode{
44 decimal::FortranRounding::RoundNearest}; // RP(==PN) enumerator
H A Dformat-implementation.h110 modes.round = decimal::RoundNearest; in HandleControl()
113 modes.round = decimal::RoundToZero; in HandleControl()
116 modes.round = decimal::RoundUp; in HandleControl()
119 modes.round = decimal::RoundDown; in HandleControl()
122 modes.round = decimal::RoundCompatible; in HandleControl()
/llvm-project-15.0.7/flang/lib/Decimal/
H A Dbinary-to-decimal.cpp15 namespace Fortran::decimal { namespace
342 return Fortran::decimal::ConvertToDecimal(buffer, size, flags, digits, in ConvertFloatToDecimal()
343 rounding, Fortran::decimal::BinaryFloatingPointNumber<24>(x)); in ConvertFloatToDecimal()
349 return Fortran::decimal::ConvertToDecimal(buffer, size, flags, digits, in ConvertDoubleToDecimal()
350 rounding, Fortran::decimal::BinaryFloatingPointNumber<53>(x)); in ConvertDoubleToDecimal()
357 return Fortran::decimal::ConvertToDecimal(buffer, size, flags, digits, in ConvertLongDoubleToDecimal()
358 rounding, Fortran::decimal::BinaryFloatingPointNumber<64>(x)); in ConvertLongDoubleToDecimal()
364 return Fortran::decimal::ConvertToDecimal(buffer, size, flags, digits, in ConvertLongDoubleToDecimal()
365 rounding, Fortran::decimal::BinaryFloatingPointNumber<113>(x)); in ConvertLongDoubleToDecimal()
H A DCMakeLists.txt3 binary-to-decimal.cpp
4 decimal-to-binary.cpp
H A Ddecimal-to-binary.cpp18 namespace Fortran::decimal { namespace
480 auto result{Fortran::decimal::ConvertToBinary<24>(*p, rounding)}; in ConvertDecimalToFloat()
487 auto result{Fortran::decimal::ConvertToBinary<53>(*p, rounding)}; in ConvertDecimalToDouble()
494 auto result{Fortran::decimal::ConvertToBinary<64>(*p, rounding)}; in ConvertDecimalToLongDouble()
/llvm-project-15.0.7/llvm/test/tools/llvm-objdump/
H A Dmalformed-archives.test16 …d archive (characters in size field in archive member header are not all decimal numbers: '[[VAL]]…
75 ## the "#1/" are not all decimal numbers.
81 …malformed archive (long name length characters after the #1/ are not all decimal numbers: '@123$' …
100 ## the "/" are not all decimal numbers.
105 …malformed archive (long name offset characters after the '/' are not all decimal numbers: '&a25*' …
125 …eport an error when the characters in the UID field of a member header are not all decimal numbers.
131 …ed archive (characters in UID field in archive member header are not all decimal numbers: '~97&' f…
138 …eport an error when the characters in the GID field of a member header are not all decimal numbers.
144 …ed archive (characters in GID field in archive member header are not all decimal numbers: '#55!' f…
164 …error when the characters in the LastModified field of a member header are not all decimal numbers.
[all …]
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp601 inline enum decimal::FortranRounding MapRoundingMode( in MapRoundingMode()
607 return decimal::RoundToZero; in MapRoundingMode()
609 return decimal::RoundDown; in MapRoundingMode()
611 return decimal::RoundUp; in MapRoundingMode()
613 return decimal::RoundCompatible; in MapRoundingMode()
618 inline RealFlags MapFlags(decimal::ConversionResultFlags flags) { in MapFlags()
620 if (flags & decimal::Overflow) { in MapFlags()
623 if (flags & decimal::Inexact) { in MapFlags()
626 if (flags & decimal::Invalid) { in MapFlags()
702 using B = decimal::BinaryFloatingPointNumber<P>; in AsFortran()
[all …]
/llvm-project-15.0.7/flang/test/Semantics/
H A Dio04.f9045 write(10, '(A)', advance='no', asynchronous='yes', decimal='comma', &
121 write(10, decimal='Komma', sign='plus', round='down') jj
H A Dio01.f9045 open(unit=40, decimal="comma", delim="apostrophe", encoding="utf-8")
46 open(unit=41, decimal=decimal_(2), delim=delim_(2), encoding=encoding_(2))
H A Dio05.f9015 access=c(1), action=c(2), asynchronous=c(3), blank=c(4), decimal=c(5), &
32 access=cv, action=cv, asynchronous=cv, blank=cv, decimal=cv, &
H A Dio03.f9055 decimal='comma', end=9, eor=9, err=9, id=id, iomsg=msg, iostat=stat2, &
151 read(10, decimal='Punkt', blank='null') jj
/llvm-project-15.0.7/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp72 enum radix { none, octal, hexadecimal, decimal }; enumerator
104 case decimal: in strings()
158 Radix = decimal; in main()
/llvm-project-15.0.7/flang/include/flang/Decimal/
H A Ddecimal.h29 namespace Fortran::decimal {
121 #define NS(x) Fortran::decimal::x
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZFeatures.td230 "vector-packed-decimal", "VectorPackedDecimal", (all_of FeatureVectorPackedDecimal),
231 "Assume that the vector packed decimal facility is installed"
271 …"vector-packed-decimal-enhancement", "VectorPackedDecimalEnhancement", (all_of FeatureVectorPacked…
272 "Assume that the vector packed decimal enhancement facility is installed"
301 …"vector-packed-decimal-enhancement-2", "VectorPackedDecimalEnhancement2", (all_of FeatureVectorPac…
302 "Assume that the vector packed decimal enhancement facility 2 is installed"
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-02-19.test4 decimal: +12,345
H A Dconstruct-int.test4 decimal: +685_230
/llvm-project-15.0.7/mlir/test/mlir-lsp-server/
H A Dcode-action.test21 "message":"unexpected decimal integer literal for a floating point value",
42 // CHECK-NEXT: "message": "unexpected decimal integer literal for a floating point value",
79 // CHECK-LITERAL: "newText": "// expected-error @below {{unexpected decimal integer lit…
/llvm-project-15.0.7/polly/lib/External/isl/imath/tests/
H A Dqmisc.tc23 # Reading decimal fractions
/llvm-project-15.0.7/lldb/docs/
H A Dlldb-platform-packets.txt192 // "pid" integer A string value containing the decimal process ID
193 // "parent_pid" integer A string value containing the decimal parent
195 // "uid" integer A string value containing the decimal user ID
196 // "gid" integer A string value containing the decimal group ID
197 // "euid" integer A string value containing the decimal effective user ID
198 // "egid" integer A string value containing the decimal effective group ID

1234