Skip to content

MironAtHome/MathFun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math fun

ECMA-334 4th Edition / June 2006 C# Language Specification

8.2.1 Predefined types

Type Description Example object The ultimate base type of all other types object o = null; string String type; a string is a sequence of Unicode code units string s = "hello"; sbyte 8-bit signed integral type sbyte val = 12; short 16-bit signed integral type short val = 12; int 32-bit signed integral type int val = 12; long 64-bit signed integral type long val1 = 12; long val2 = 34L; byte 8-bit unsigned integral type byte val1 = 12; ushort 16-bit unsigned integral type ushort val1 = 12; uint 32-bit unsigned integral type uint val1 = 12; uint val2 = 34U; ulong 64-bit unsigned integral type ulong val1 = 12; ulong val2 = 34U; ulong val3 = 56L; ulong val4 = 78UL; float Single-precision floating point type float val = 1.23F; double Double-precision floating point type double val1 = 1.23; double val2 = 4.56D; bool Boolean type; a bool value is either true or false bool val1 = true; bool val2 = false; char Character type; a char value is a Unicode code unit char val = 'h'; decimal Precise decimal type with at least 28 significant digits decimal val = 1.23M;

This is attempt to systematically account for such cases as division by zero, overflow, underflow, and handling of NaN by predefined C Sharp programming numeric data types.

As well as provide for systemic ordered understanding of how CIL .NET programming language will translate and handle each data type and its respective arithmetic operation.

In the end this is to better evaluate options and performance of each choice, as application implementation demands in the future.

About

Math Fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages