dotnet / dotnet/csharpstandard
§12.8.7 – add text stating an explicit floating-point cast reduces the value to the exact precision of the type
Open
type: clarity
- Dominant language
- C#
- Stars
- 815
- Forks
- 99
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 16
Description
This is a spinoff from ECMA-TC49-TG2/spec#148. The C# (rather than the CLI) Standard needs to normatively define that floating-point operations may be performed in a higher-precision and that a cast `(T)T` forces the value to the exact precision of the type.
Contributor guide
Assessment
This issue has not been assessed yet.