Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.31 KB

Readme.md

File metadata and controls

41 lines (34 loc) · 1.31 KB

Reinterpreting int to float

A simple experiment to see the exponential nature of floating point numbers.

Online Converter : https://www.h-schmidt.net/FloatConverter/IEEE754.html

Results

result1 result_limited

Usage

./build.sh

Offset

int offset, float offset ( starting from 2124092nd number)
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10999999999993738461096773374967808.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10999999999993738461096773374967808.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10000000000001176588608513461190656.000000
1000 10999999999993738461096773374967808.000000