42 karma · joined July 4, 2020
Socials:
- github.com/clemensmanert
Interests:
Programming
---
Besides, talking to other people face to face about your project always gave me a huge motivation boost.
In fas you have to specify the sizes (of mantissa and exponent) during compile time. So the size of this type is fixed. Thus, there is no heap involved.
Float<int64_t, int64_t>
Gives you a signed Mantissa with 64 bit and a signed Exponent with 64bit. Since there are numeric limits for int64_t available, Float knows the max and the min value.You could get even bigger ranges for Float by implementing your own big integer type.
Float<uint8_t, // type of the mantissa
uint8_t, // type of the exponent
0, // lowest possible value of the mantissa
4095, // highest possible value of the mantissa
0, // lowest possible value of the exponent
7> // highest possible value of the exponent
The Float then simulates an unsigned 12bit mantissa and a 3bit exponent. Sure it still takes 16 bytes. But you could create a union with bitfields where you shrink that even further.[0] https://github.com/clemensmanert/fas/blob/58f9effbe6c13ab334...
Thanks for the hint to the paper. I also faced these issues. Thus, I provided a constructor which accepts mantissa and exponent as values. Very handy for the unittests.
They eat snails and all the kitchen scaprs and I seldom have to buy eggs. Besides, it is so lovely to watch them in the garden. Their social live and their communication within the flock is very interesting to watch.
There are also a lot of nice hacker projects out: self closing chicken coop, monitoring, live cams.
And they really look nice, there are so many beautiful breeds, just type chicken breed in duckduckgo image search.
Location: Germany
Remote: Yes preferred
Willing to relocate: No
Technologies: C/C++, Ada, Linux
Résumé/CV: http://manert.de/cv.pdf
Email: seg_fault@manert.de
Github: https://github.com/clemensmanert