Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Variables
llvm::numbers Namespace Reference

Mathematical constants.More...

Variables

constexpr double e = 0x1.5bf0a8b145769P+1
 
constexpr double egamma = 0x1.2788cfc6fb619P-1
 
constexpr double ln2 = 0x1.62e42fefa39efP-1
 
constexpr double ln10 = 0x1.26bb1bbb55516P+1
 
constexpr double log2e = 0x1.71547652b82feP+0
 
constexpr double log10e = 0x1.bcb7b1526e50eP-2
 
constexpr double pi = 0x1.921fb54442d18P+1
 
constexpr double inv_pi = 0x1.45f306dc9c883P-2
 
constexpr double sqrtpi = 0x1.c5bf891b4ef6bP+0
 
constexpr double inv_sqrtpi = 0x1.20dd750429b6dP-1
 
constexpr double sqrt2 = 0x1.6a09e667f3bcdP+0
 
constexpr double inv_sqrt2 = 0x1.6a09e667f3bcdP-1
 
constexpr double sqrt3 = 0x1.bb67ae8584caaP+0
 
constexpr double inv_sqrt3 = 0x1.279a74590331cP-1
 
constexpr double phi = 0x1.9e3779b97f4a8P+0
 
constexpr float ef = 0x1.5bf0a8P+1F
 
constexpr float egammaf = 0x1.2788d0P-1F
 
constexpr float ln2f = 0x1.62e430P-1F
 
constexpr float ln10f = 0x1.26bb1cP+1F
 
constexpr float log2ef = 0x1.715476P+0F
 
constexpr float log10ef = 0x1.bcb7b2P-2F
 
constexpr float pif = 0x1.921fb6P+1F
 
constexpr float inv_pif = 0x1.45f306P-2F
 
constexpr float sqrtpif = 0x1.c5bf8aP+0F
 
constexpr float inv_sqrtpif = 0x1.20dd76P-1F
 
constexpr float sqrt2f = 0x1.6a09e6P+0F
 
constexpr float inv_sqrt2f = 0x1.6a09e6P-1F
 
constexpr float sqrt3f = 0x1.bb67aeP+0F
 
constexpr float inv_sqrt3f = 0x1.279a74P-1F
 
constexpr float phif = 0x1.9e377aP+0F
 

Detailed Description

Mathematical constants.

Variable Documentation

◆ e

constexpr double llvm::numbers::e = 0x1.5bf0a8b145769P+1
constexpr

Definition at line47 of fileMathExtras.h.

◆ ef

constexpr float llvm::numbers::ef = 0x1.5bf0a8P+1F
constexpr

Definition at line62 of fileMathExtras.h.

◆ egamma

constexpr double llvm::numbers::egamma = 0x1.2788cfc6fb619P-1

Definition at line48 of fileMathExtras.h.

◆ egammaf

constexpr float llvm::numbers::egammaf = 0x1.2788d0P-1F

Definition at line63 of fileMathExtras.h.

◆ inv_pi

constexpr double llvm::numbers::inv_pi = 0x1.45f306dc9c883P-2

Definition at line54 of fileMathExtras.h.

Referenced byexpandDegreesIntrinsic(), andllvm::AMDGPULegalizerInfo::legalizeSinCos().

◆ inv_pif

constexpr float llvm::numbers::inv_pif = 0x1.45f306P-2F

Definition at line69 of fileMathExtras.h.

◆ inv_sqrt2

constexpr double llvm::numbers::inv_sqrt2 = 0x1.6a09e667f3bcdP-1

Definition at line58 of fileMathExtras.h.

◆ inv_sqrt2f

constexpr float llvm::numbers::inv_sqrt2f = 0x1.6a09e6P-1F

Definition at line73 of fileMathExtras.h.

◆ inv_sqrt3

constexpr double llvm::numbers::inv_sqrt3 = 0x1.279a74590331cP-1

Definition at line60 of fileMathExtras.h.

◆ inv_sqrt3f

constexpr float llvm::numbers::inv_sqrt3f = 0x1.279a74P-1F

Definition at line75 of fileMathExtras.h.

◆ inv_sqrtpi

constexpr double llvm::numbers::inv_sqrtpi = 0x1.20dd750429b6dP-1

Definition at line56 of fileMathExtras.h.

◆ inv_sqrtpif

constexpr float llvm::numbers::inv_sqrtpif = 0x1.20dd76P-1F

Definition at line71 of fileMathExtras.h.

◆ ln10

constexpr double llvm::numbers::ln10 = 0x1.26bb1bbb55516P+1

Definition at line50 of fileMathExtras.h.

Referenced byllvm::AMDGPULegalizerInfo::legalizeFlogUnsafe(), andllvm::AMDGPUTargetLowering::LowerFLOGUnsafe().

◆ ln10f

constexpr float llvm::numbers::ln10f = 0x1.26bb1cP+1F

Definition at line65 of fileMathExtras.h.

Referenced byexpandLog10Intrinsic().

◆ ln2

constexpr double llvm::numbers::ln2 = 0x1.62e42fefa39efP-1

Definition at line49 of fileMathExtras.h.

Referenced byllvm::AMDGPULegalizerInfo::legalizeFlogUnsafe(),llvm::log2(), andllvm::AMDGPUTargetLowering::LowerFLOGUnsafe().

◆ ln2f

constexpr float llvm::numbers::ln2f = 0x1.62e430P-1F

Definition at line64 of fileMathExtras.h.

Referenced byexpandLog(), andexpandLog10Intrinsic().

◆ log10e

constexpr double llvm::numbers::log10e = 0x1.bcb7b1526e50eP-2

Definition at line52 of fileMathExtras.h.

◆ log10ef

constexpr float llvm::numbers::log10ef = 0x1.bcb7b2P-2F

Definition at line67 of fileMathExtras.h.

◆ log2e

constexpr double llvm::numbers::log2e = 0x1.71547652b82feP+0

Definition at line51 of fileMathExtras.h.

Referenced byllvm::AMDGPULegalizerInfo::legalizeFExpUnsafe(), andllvm::AMDGPUTargetLowering::lowerFEXPUnsafe().

◆ log2ef

constexpr float llvm::numbers::log2ef = 0x1.715476P+0F

Definition at line66 of fileMathExtras.h.

Referenced byexpandExp(),expandExpIntrinsic(),llvm::AMDGPULegalizerInfo::legalizeFExp(), andllvm::AMDGPUTargetLowering::lowerFEXP().

◆ phi

constexpr double llvm::numbers::phi = 0x1.9e3779b97f4a8P+0

Definition at line61 of fileMathExtras.h.

◆ phif

constexpr float llvm::numbers::phif = 0x1.9e377aP+0F

Definition at line76 of fileMathExtras.h.

◆ pi

constexpr double llvm::numbers::pi = 0x1.921fb54442d18P+1

Definition at line53 of fileMathExtras.h.

Referenced byexpandAtan2Intrinsic(), andexpandRadiansIntrinsic().

◆ pif

constexpr float llvm::numbers::pif = 0x1.921fb6P+1F

Definition at line68 of fileMathExtras.h.

◆ sqrt2

constexpr double llvm::numbers::sqrt2 = 0x1.6a09e667f3bcdP+0

Definition at line57 of fileMathExtras.h.

◆ sqrt2f

constexpr float llvm::numbers::sqrt2f = 0x1.6a09e6P+0F

Definition at line72 of fileMathExtras.h.

◆ sqrt3

constexpr double llvm::numbers::sqrt3 = 0x1.bb67ae8584caaP+0

Definition at line59 of fileMathExtras.h.

◆ sqrt3f

constexpr float llvm::numbers::sqrt3f = 0x1.bb67aeP+0F

Definition at line74 of fileMathExtras.h.

◆ sqrtpi

constexpr double llvm::numbers::sqrtpi = 0x1.c5bf891b4ef6bP+0

Definition at line55 of fileMathExtras.h.

◆ sqrtpif

constexpr float llvm::numbers::sqrtpif = 0x1.c5bf8aP+0F

Definition at line70 of fileMathExtras.h.


Generated on Sun Jul 20 2025 22:16:16 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp