@@ -52,21 +52,21 @@ ENUM_CLASS(IoSpecKind, Access, Action, Advance, Asynchronous, Blank, Decimal,
52
52
Id, Iomsg, Iostat, Name, Named, Newunit, Nextrec, Nml, Number, Opened, Pad,
53
53
Pending, Pos, Position, Read, Readwrite, Rec, Recl, Round, Sequential, Sign,
54
54
Size , Status, Stream, Unformatted, Unit, Write,
55
- Convert, // nonstandard
56
- Dispose, // nonstandard
55
+ Convert, // nonstandard
56
+ Dispose, // nonstandard
57
57
)
58
58
59
59
// Floating-point rounding modes; these are packed into a byte to save
60
60
// room in the runtime's format processing context structure.
61
61
enum class RoundingMode : std::uint8_t {
62
- TiesToEven, // ROUND=NEAREST, RN - default IEEE rounding
63
- ToZero, // ROUND=ZERO, RZ - truncation
64
- Down, // ROUND=DOWN, RD
65
- Up, // ROUND=UP, RU
66
- TiesAwayFromZero, // ROUND=COMPATIBLE, RC - ties round away from zero
62
+ TiesToEven, // ROUND=NEAREST, RN - default IEEE rounding
63
+ ToZero, // ROUND=ZERO, RZ - truncation
64
+ Down, // ROUND=DOWN, RD
65
+ Up, // ROUND=UP, RU
66
+ TiesAwayFromZero, // ROUND=COMPATIBLE, RC - ties round away from zero
67
67
};
68
68
69
69
// Fortran arrays may have up to 15 dimensions (See Fortran 2018 section 5.4.6).
70
70
static constexpr int maxRank{15 };
71
- }
72
- #endif // FORTRAN_COMMON_FORTRAN_H_
71
+ } // namespace Fortran::common
72
+ #endif // FORTRAN_COMMON_FORTRAN_H_
0 commit comments