Quantum 3 3.0.11

Classes | Public Attributes | Static Public Attributes | Properties | List of all members
Photon.Deterministic.FPHighPrecisionDivisor Struct Reference

Represents a high precision divisor for use with the Fixed Point math system. More...

Classes

class  Raw
 Holds FPHighPrecisionDivisor constants in raw (long) form. More...
 

Public Attributes

readonly FP AsFP => FP.FromRaw(RawValue >> ExtraPrecision)
 Returns the value of the divisor as a FP. More...
 

Static Public Attributes

const int ExtraPrecision = 16
 The extra precision to shift. More...
 
const int TotalPrecision = 32
 The total precision. More...
 

Properties

static FPHighPrecisionDivisor _0_01 [get]
 FP constant representing the number 0.01. More...
 
static FPHighPrecisionDivisor _0_02 [get]
 FP constant representing the number 0.02. More...
 
static FPHighPrecisionDivisor _0_03 [get]
 FP constant representing the number 0.03. More...
 
static FPHighPrecisionDivisor _0_04 [get]
 FP constant representing the number 0.04. More...
 
static FPHighPrecisionDivisor _0_05 [get]
 FP constant representing the number 0.05. More...
 
static FPHighPrecisionDivisor _0_10 [get]
 FP constant representing the number 0.10. More...
 
static FPHighPrecisionDivisor _0_20 [get]
 FP constant representing the number 0.20. More...
 
static FPHighPrecisionDivisor _0_33 [get]
 FP constant representing the number 0.33. More...
 
static FPHighPrecisionDivisor _0_99 [get]
 FP constant representing the number 0.99. More...
 
static FPHighPrecisionDivisor _1_01 [get]
 FP constant representing the number 1.01. More...
 
static FPHighPrecisionDivisor _1_02 [get]
 FP constant representing the number 1.02. More...
 
static FPHighPrecisionDivisor _1_03 [get]
 FP constant representing the number 1.03. More...
 
static FPHighPrecisionDivisor _1_04 [get]
 FP constant representing the number 1.04. More...
 
static FPHighPrecisionDivisor _1_05 [get]
 FP constant representing the number 1.05. More...
 
static FPHighPrecisionDivisor _1_10 [get]
 FP constant representing the number 1.10. More...
 
static FPHighPrecisionDivisor _1_20 [get]
 FP constant representing the number 1.20. More...
 
static FPHighPrecisionDivisor _1_33 [get]
 FP constant representing the number 1.33. More...
 
static FPHighPrecisionDivisor _1_99 [get]
 FP constant representing the number 1.99. More...
 
static FPHighPrecisionDivisor Deg2Rad [get]
 Degrees-to-radians conversion constant. More...
 
static FPHighPrecisionDivisor E [get]
 FP constant representing the Euler Number constant. More...
 
static FPHighPrecisionDivisor EN1 [get]
 FP constant representing the epsilon value EN1. More...
 
static FPHighPrecisionDivisor EN2 [get]
 FP constant representing the epsilon value EN2. More...
 
static FPHighPrecisionDivisor EN3 [get]
 FP constant representing the epsilon value EN3. More...
 
static FPHighPrecisionDivisor EN4 [get]
 FP constant representing the epsilon value EN4. More...
 
static FPHighPrecisionDivisor EN5 [get]
 FP constant representing the epsilon value EN5. More...
 
static FPHighPrecisionDivisor Log2_10 [get]
 FP constant representing Log(10). More...
 
static FPHighPrecisionDivisor Log2_E [get]
 FP constant representing Log(E). More...
 
static FPHighPrecisionDivisor Pi [get]
 >Pi number. More...
 
static FPHighPrecisionDivisor Pi3Over4 [get]
 3 * Pi / 4. More...
 
static FPHighPrecisionDivisor PiInv [get]
 1/Pi. More...
 
static FPHighPrecisionDivisor PiOver2 [get]
 Pi / 2. More...
 
static FPHighPrecisionDivisor PiOver2Inv [get]
 2 / Pi. More...
 
static FPHighPrecisionDivisor PiOver4 [get]
 Pi / 4. More...
 
static FPHighPrecisionDivisor PiTimes2 [get]
 2 * Pi. More...
 
static FPHighPrecisionDivisor Rad2Deg [get]
 Radians-to-degrees conversion constant. More...
 
static FPHighPrecisionDivisor Rad_180 [get]
 FP constant representing 180 degrees in radian. More...
 
static FPHighPrecisionDivisor Rad_22_50 [get]
 FP constant representing 22.5 degrees in radian. More...
 
static FPHighPrecisionDivisor Rad_45 [get]
 FP constant representing 45 degrees in radian. More...
 
static FPHighPrecisionDivisor Rad_90 [get]
 FP constant representing 90 degrees in radian. More...
 

Detailed Description

Represents a high precision divisor for use with the Fixed Point math system.

Member Data Documentation

◆ ExtraPrecision

const int Photon.Deterministic.FPHighPrecisionDivisor.ExtraPrecision = 16
static

The extra precision to shift.

◆ TotalPrecision

const int Photon.Deterministic.FPHighPrecisionDivisor.TotalPrecision = 32
static

The total precision.

◆ AsFP

readonly FP Photon.Deterministic.FPHighPrecisionDivisor.AsFP => FP.FromRaw(RawValue >> ExtraPrecision)

Returns the value of the divisor as a FP.

Property Documentation

◆ Pi

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Pi
staticget

>Pi number.

Closest double: 3.14159265346825

◆ PiInv

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.PiInv
staticget

1/Pi.

Closest double: 0.318309886148199

◆ PiTimes2

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.PiTimes2
staticget

2 * Pi.

Closest double: 6.28318530716933

◆ PiOver2

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.PiOver2
staticget

Pi / 2.

Closest double: 1.57079632673413

◆ PiOver2Inv

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.PiOver2Inv
staticget

2 / Pi.

Closest double: 0.636619772296399

◆ PiOver4

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.PiOver4
staticget

Pi / 4.

Closest double: 0.785398163367063

◆ Pi3Over4

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Pi3Over4
staticget

3 * Pi / 4.

Closest double: 2.35619449010119

◆ Deg2Rad

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Deg2Rad
staticget

Degrees-to-radians conversion constant.

Closest double: 0.0174532923847437

◆ Rad2Deg

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Rad2Deg
staticget

Radians-to-degrees conversion constant.

Closest double: 57.2957795129623

◆ Rad_180

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Rad_180
staticget

FP constant representing 180 degrees in radian.

Closest double: 3.14159265346825

◆ Rad_90

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Rad_90
staticget

FP constant representing 90 degrees in radian.

Closest double: 1.57079632673413

◆ Rad_45

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Rad_45
staticget

FP constant representing 45 degrees in radian.

Closest double: 0.785398163367063

◆ Rad_22_50

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Rad_22_50
staticget

FP constant representing 22.5 degrees in radian.

Closest double: 0.392699081683531

◆ _0_01

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_01
staticget

FP constant representing the number 0.01.

Closest double: 0.00999999977648258

◆ _0_02

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_02
staticget

FP constant representing the number 0.02.

Closest double: 0.0199999997857958

◆ _0_03

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_03
staticget

FP constant representing the number 0.03.

Closest double: 0.029999999795109

◆ _0_04

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_04
staticget

FP constant representing the number 0.04.

Closest double: 0.0399999998044223

◆ _0_05

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_05
staticget

FP constant representing the number 0.05.

Closest double: 0.0499999998137355

◆ _0_10

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_10
staticget

FP constant representing the number 0.10.

Closest double: 0.0999999998603016

◆ _0_20

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_20
staticget

FP constant representing the number 0.20.

Closest double: 0.199999999953434

◆ _0_33

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_33
staticget

FP constant representing the number 0.33.

Closest double: 0.333333333255723

◆ _0_99

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._0_99
staticget

FP constant representing the number 0.99.

Closest double: 0.989999999990687

◆ _1_01

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_01
staticget

FP constant representing the number 1.01.

Closest double: 1.00999999977648

◆ _1_02

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_02
staticget

FP constant representing the number 1.02.

Closest double: 1.0199999997858

◆ _1_03

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_03
staticget

FP constant representing the number 1.03.

Closest double: 1.02999999979511

◆ _1_04

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_04
staticget

FP constant representing the number 1.04.

Closest double: 1.03999999980442

◆ _1_05

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_05
staticget

FP constant representing the number 1.05.

Closest double: 1.04999999981374

◆ _1_10

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_10
staticget

FP constant representing the number 1.10.

Closest double: 1.0999999998603

◆ _1_20

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_20
staticget

FP constant representing the number 1.20.

Closest double: 1.19999999995343

◆ _1_33

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_33
staticget

FP constant representing the number 1.33.

Closest double: 1.33333333325572

◆ _1_99

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor._1_99
staticget

FP constant representing the number 1.99.

Closest double: 1.98999999999069

◆ EN1

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.EN1
staticget

FP constant representing the epsilon value EN1.

Closest double: 0.0999999998603016

◆ EN2

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.EN2
staticget

FP constant representing the epsilon value EN2.

Closest double: 0.00999999977648258

◆ EN3

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.EN3
staticget

FP constant representing the epsilon value EN3.

Closest double: 0.000999999931082129

◆ EN4

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.EN4
staticget

FP constant representing the epsilon value EN4.

Closest double: 9.99998301267624E-05

◆ EN5

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.EN5
staticget

FP constant representing the epsilon value EN5.

Closest double: 9.99984331429005E-06

◆ E

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.E
staticget

FP constant representing the Euler Number constant.

Closest double: 2.71828182833269

◆ Log2_E

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Log2_E
staticget

FP constant representing Log(E).

Closest double: 1.44269504072145

◆ Log2_10

FPHighPrecisionDivisor Photon.Deterministic.FPHighPrecisionDivisor.Log2_10
staticget

FP constant representing Log(10).

Closest double: 3.32192809483968