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
#196 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.