OpenSiv3D  v0.6.5
C++20 framework for creative coding
FastMath.hpp File Reference
#include <utility>
#include "Common.hpp"
#include "MathConstants.hpp"
#include "detail/FastMath.ipp"

Namespaces

 s3d
 
 s3d::FastMath
 

Functions

constexpr std::pair< float, float > s3d::FastMath::SinCos (float angleRadians) noexcept
 sin, cos を高速に近似計算します。 More...
 
constexpr std::pair< float, float > s3d::FastMath::SinCos (double angleRadians) noexcept
 sin, cos を高速に近似計算します。 More...
 
float s3d::FastMath::InvSqrt (float x) noexcept
 逆平方根を高速に近似計算します。 More...
 
double s3d::FastMath::InvSqrt (double x) noexcept
 逆平方根を高速に近似計算します。 More...
 
double s3d::FastMath::InvSqrtQuality (double x) noexcept
 精度の高い逆平方根を高速に近似計算します。 More...
 
float s3d::FastMath::Sqrt (float x) noexcept
 平方根を高速に近似計算します。 More...
 
double s3d::FastMath::Sqrt (double x) noexcept
 平方根を高速に近似計算します。 More...