evol3D / evol-headers

A collection of C99 headers that are used in the evol engine.
0 stars 1 forks source link

Adding some types and limits #5

Closed mo7sen closed 2 years ago

mo7sen commented 2 years ago

Added integer types in the form of:

i8 byte;
u32 u4bytes;

And their limits in the form of:

i64 max_int = Int64.MAX;
u32 min_uint = UInt32.MIN;
mo7sen commented 2 years ago

Added floating-point types:

f32 flt;
f64 dbl;

With limits:

f32 min_pos = Float32.MIN_POS; // Minimum Positive Value
f32 minf = Float32.MIN;
f64 maxd = Float64.MAX;
f64 epsilon = Float64.EPS;