Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

DeSc1998/constexpr-sin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small Experiment for a constexpr sinus

This is just a small expermient.

It contains two version checked against the standard lib version: one which uses a Taylor-polynomial and the other uses two quadratic polynomials.

Requirements

  • C++ Compiler (ex. llvm clang++)
  • Meson Buildsystem
  • make, ninja, etc.

NOTE: meson generates buildfiles for a other buildsystem such as ninja. I recommand taking a look at which systems meson supports.

quick start

Just run the following commands:

$ meson setup src build
$ meson test -C build

NOTE: testlogs can be found in ./build/meson-logs/ relative to the projects root.

About

A constexpr version of sinus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published