NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Attributes | List of all members
numerical::detail::sine_terms Struct Reference

The terms table_sine adds for sin x = a + b·r + …: a = S and b = C for the sine, a = C and b = −S for the cosine (S, C the table's sin(jπ/32) and cos(jπ/32), each a head and a tail), and the value where |x| < 2⁻²⁷: x for the sine, 1 for the cosine. More...

#include <elementary.hpp>

Public Attributes

double a
 The leading term's head.
 
double a_tail
 The leading term's tail.
 
double b
 r's factor, its head.
 
double b_tail
 r's factor, its tail.
 
double tiny
 The value where |x| < 2⁻²⁷.
 

Detailed Description

The terms table_sine adds for sin x = a + b·r + …: a = S and b = C for the sine, a = C and b = −S for the cosine (S, C the table's sin(jπ/32) and cos(jπ/32), each a head and a tail), and the value where |x| < 2⁻²⁷: x for the sine, 1 for the cosine.

Definition at line 622 of file elementary.hpp.

Member Data Documentation

◆ a

double numerical::detail::sine_terms::a

The leading term's head.

Definition at line 624 of file elementary.hpp.

◆ a_tail

double numerical::detail::sine_terms::a_tail

The leading term's tail.

Definition at line 625 of file elementary.hpp.

◆ b

double numerical::detail::sine_terms::b

r's factor, its head.

Definition at line 626 of file elementary.hpp.

◆ b_tail

double numerical::detail::sine_terms::b_tail

r's factor, its tail.

Definition at line 627 of file elementary.hpp.

◆ tiny

double numerical::detail::sine_terms::tiny

The value where |x| < 2⁻²⁷.

Definition at line 628 of file elementary.hpp.


The documentation for this struct was generated from the following file: