Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
native_airy_initial_values.hpp
Go to the documentation of this file.
1// Generated coefficients; see scripts/generate-airy-phase.py and
2// scripts/generate-airy-constants.cpp, and docs/tensor/native_airy.md.
3#pragma once
4#include <cstdint>
5namespace uni20::detail::native_math::airy_detail
6{
7inline constexpr std::uint16_t ai_zero_bits[] = {
8 0x5ae3, 0x1e58, 0x9c56, 0xe17a, 0x96d7, 0xbb04, 0xe64f, 0x6da9, 0x7ab1, 0x006b, 0x26f9,
9 0xeb64, 0x2123, 0x3394, 0x220b, 0x8457, 0x047c, 0xb955, 0x7c9f, 0x3b43, 0xd24f, 0x2590,
10 0xc0bc, 0xee28, 0x33ea, 0x8f71, 0xbb60, 0x16d8, 0xb5d2, 0x6975, 0x95d0, 0xa01f,
11};
12inline constexpr std::uint16_t ai_prime_zero_bits[] = {
13 0x4241, 0xfd0a, 0xdc3e, 0x2a2e, 0xba6f, 0xca50, 0x21d9, 0xee1e, 0x6a31, 0xf093, 0x5d3a,
14 0x8b0f, 0xa6c2, 0x8c3a, 0x9c0b, 0x5461, 0x60e3, 0xc53e, 0x9e70, 0xf05d, 0x7ebb, 0xf627,
15 0xff2f, 0x4904, 0x4f9c, 0x9cb3, 0xfcf1, 0x0d21, 0xae57, 0xfd38, 0x2752, 0x4164,
16};
17inline constexpr std::uint16_t log_two_bits[] = {
18 0xb172, 0x17f7, 0xd1cf, 0x79ab, 0xc9e3, 0xb398, 0x03f2, 0xf6af, 0x40f3, 0x4326, 0x7298,
19 0xb62d, 0x8a0d, 0x175b, 0x8baa, 0xfa2b, 0xe7b8, 0x7620, 0x6deb, 0xac98, 0x5595, 0x52fb,
20 0x4afa, 0x1b10, 0xed2e, 0xae35, 0xc138, 0x2144, 0x2757, 0x3b29, 0x1169, 0xb825,
21};
22inline constexpr std::uint16_t log_pi_fraction_bits[] = {
23 0x250d, 0x048e, 0x7a1b, 0xd0bd, 0x5f95, 0x6c6a, 0x843f, 0x4998, 0x5e6d, 0xdbf3, 0xb3f2,
24 0x606e, 0x3380, 0x2eca, 0xefa9, 0x308e, 0x5aa6, 0xc4df, 0x5231, 0x60e6, 0xd240, 0x2c25,
25 0x6db0, 0xb866, 0x738a, 0xa878, 0x7561, 0x9373, 0x7776, 0x9e99, 0xdced, 0xa3bf,
26};
27} // namespace uni20::detail::native_math::airy_detail