Skip to content

rohanverma94/Stub-Trignometric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stub-Trignometric

An stub for cross compilers for precomputing the cosine of the angles because calculating cosine in runtime is time consuming.

This is a libray for generating the cosine of the angles at compile time, so no-runtime overhead is present. This library is desined & compatible for following platforms:

  • ARMv-8 A, ARMv-8 M - Tested on GNU C++ Compiler
  • ARM 32 bit family Cortex A - Tested with GNU C++ Compiler
  • AVR32 - Tested on GNU C++ Compiler

Note

The architecture should support a floating point numbers with fixed precision. Don't use constexpr in floating point types because it will break the code and make the code non-portable , the reason for this is " The floating point precision is not fixed across multiple architectures ".

About

An stub for cross compilers for precomputing the cosine of the angles because calculating cosine in runtime is time consuming.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages