Quantum 3 3.0.11

Static Public Attributes | List of all members
Photon.Deterministic.FP.Raw Class Reference

Holds FP constants in raw (long) form. More...

Static Public Attributes

const long _0 = 0
 FP constant representing the number 0. More...
 
const long _0_01 = 655
 FP constant representing the number 0.01. More...
 
const long _0_02 = 1311
 FP constant representing the number 0.02. More...
 
const long _0_03 = 1966
 FP constant representing the number 0.03. More...
 
const long _0_04 = 2621
 FP constant representing the number 0.04. More...
 
const long _0_05 = 3277
 FP constant representing the number 0.05. More...
 
const long _0_10 = 6554
 FP constant representing the number 0.10. More...
 
const long _0_20 = 13107
 FP constant representing the number 0.20. More...
 
const long _0_25 = 16384
 FP constant representing the number 0.25. More...
 
const long _0_33 = 21845
 FP constant representing the number 0.33. More...
 
const long _0_50 = 32768
 FP constant representing the number 0.50. More...
 
const long _0_75 = 49152
 FP constant representing the number 0.75. More...
 
const long _0_99 = 64881
 FP constant representing the number 0.99. More...
 
const long _1 = 65536
 FP constant representing the number 1. More...
 
const long _10 = 655360
 FP constant representing the number 10. More...
 
const long _100 = 6553600
 FP constant representing the number 100. More...
 
const long _1000 = 65536000
 FP constant representing the number 1000. More...
 
const long _10000 = 655360000
 FP constant representing the number 10000. More...
 
const long _180 = 11796480
 FP constant representing the number 180. More...
 
const long _1_01 = 66191
 FP constant representing the number 1.01. More...
 
const long _1_02 = 66847
 FP constant representing the number 1.02. More...
 
const long _1_03 = 67502
 FP constant representing the number 1.03. More...
 
const long _1_04 = 68157
 FP constant representing the number 1.04. More...
 
const long _1_05 = 68813
 FP constant representing the number 1.05. More...
 
const long _1_10 = 72090
 FP constant representing the number 1.10. More...
 
const long _1_20 = 78643
 FP constant representing the number 1.20. More...
 
const long _1_25 = 81920
 FP constant representing the number 1.25. More...
 
const long _1_33 = 87381
 FP constant representing the number 1.33. More...
 
const long _1_50 = 98304
 FP constant representing the number 1.50. More...
 
const long _1_75 = 114688
 FP constant representing the number 1.75. More...
 
const long _1_99 = 130417
 FP constant representing the number 1.99. More...
 
const long _2 = 131072
 FP constant representing the number 2. More...
 
const long _200 = 13107200
 FP constant representing the number 200. More...
 
const long _3 = 196608
 FP constant representing the number 3. More...
 
const long _360 = 23592960
 FP constant representing the number 360. More...
 
const long _4 = 262144
 FP constant representing the number 4. More...
 
const long _5 = 327680
 FP constant representing the number 5. More...
 
const long _6 = 393216
 FP constant representing the number 6. More...
 
const long _7 = 458752
 FP constant representing the number 7. More...
 
const long _8 = 524288
 FP constant representing the number 8. More...
 
const long _9 = 589824
 FP constant representing the number 9. More...
 
const long _99 = 6488064
 FP constant representing the number 99. More...
 
const long Deg2Rad = 1144
 Degrees-to-radians conversion constant. More...
 
const long E = 178145
 FP constant representing the Euler Number constant. More...
 
const long EN1 = 6554
 FP constant representing the epsilon value EN1. More...
 
const long EN2 = 655
 FP constant representing the epsilon value EN2. More...
 
const long EN3 = 66
 FP constant representing the epsilon value EN3. More...
 
const long EN4 = 7
 FP constant representing the epsilon value EN4. More...
 
const long EN5 = 1
 FP constant representing the epsilon value EN5. More...
 
const long Epsilon = 66
 FP constant representing Epsilon EN3. More...
 
const long Log2_10 = 217706
 FP constant representing Log(10). More...
 
const long Log2_E = 94548
 FP constant representing Log(E). More...
 
const long MaxValue = 9223372036854775807
 Maximum FP value, but values outside of UseableMin and UseableMax (inclusive) can overflow when multiplied. More...
 
const long Minus_1 = -65536
 FP constant representing the number -1. More...
 
const long MinValue = -9223372036854775808
 Minimum FP value, but values outside of UseableMin and UseableMax (inclusive) can overflow when multiplied. More...
 
const long Pi = 205887
 Pi number. More...
 
const long Pi3Over4 = 154416
 3 * Pi / 4. More...
 
const long Pi4Over3 = 274517
 4 * Pi / 3. More...
 
const long PiInv = 20861
 1/Pi. More...
 
const long PiOver2 = 102944
 Pi / 2. More...
 
const long PiOver2Inv = 41722
 2 / Pi. More...
 
const long PiOver4 = 51472
 Pi / 4. More...
 
const long PiTimes2 = 411775
 2 * Pi. More...
 
const long Rad2Deg = 3754936
 Radians-to-degrees conversion constant. More...
 
const long Rad_180 = 205887
 FP constant representing 180 degrees in radian. More...
 
const long Rad_22_50 = 25736
 FP constant representing 22.5 degrees in radian. More...
 
const long Rad_360 = 411775
 FP constant representing 360 degrees in radian. More...
 
const long Rad_45 = 51472
 FP constant representing 45 degrees in radian. More...
 
const long Rad_90 = 102944
 FP constant representing 90 degrees in radian. More...
 
const long SmallestNonZero = 1
 The smallest FP unit that is not 0. More...
 
const long UseableMax = 2147483647
 Represents the highest FP number that can be multiplied with itself and not cause an overflow (exceeding long range). More...
 
const long UseableMin = -2147483648
 Represents the highest negative FP number that can be multiplied with itself and not cause an overflow (exceeding long range). More...
 

Detailed Description

Holds FP constants in raw (long) form.

Member Data Documentation

◆ SmallestNonZero

const long Photon.Deterministic.FP.Raw.SmallestNonZero = 1
static

The smallest FP unit that is not 0.

Closest double: 1.52587890625E-05

◆ MinValue

const long Photon.Deterministic.FP.Raw.MinValue = -9223372036854775808
static

Minimum FP value, but values outside of UseableMin and UseableMax (inclusive) can overflow when multiplied.

Closest double: -140737488355328

◆ MaxValue

const long Photon.Deterministic.FP.Raw.MaxValue = 9223372036854775807
static

Maximum FP value, but values outside of UseableMin and UseableMax (inclusive) can overflow when multiplied.

Closest double: 140737488355328

◆ UseableMin

const long Photon.Deterministic.FP.Raw.UseableMin = -2147483648
static

Represents the highest negative FP number that can be multiplied with itself and not cause an overflow (exceeding long range).

Closest double: -32768

◆ UseableMax

const long Photon.Deterministic.FP.Raw.UseableMax = 2147483647
static

Represents the highest FP number that can be multiplied with itself and not cause an overflow (exceeding long range).

Closest double: 32767.9999847412

◆ Pi

const long Photon.Deterministic.FP.Raw.Pi = 205887
static

Pi number.

Closest double: 3.14158630371094

◆ PiInv

const long Photon.Deterministic.FP.Raw.PiInv = 20861
static

1/Pi.

Closest double: 0.318313598632813

◆ PiTimes2

const long Photon.Deterministic.FP.Raw.PiTimes2 = 411775
static

2 * Pi.

Closest double: 6.28318786621094

◆ PiOver2

const long Photon.Deterministic.FP.Raw.PiOver2 = 102944
static

Pi / 2.

Closest double: 1.57080078125

◆ PiOver2Inv

const long Photon.Deterministic.FP.Raw.PiOver2Inv = 41722
static

2 / Pi.

Closest double: 0.636627197265625

◆ PiOver4

const long Photon.Deterministic.FP.Raw.PiOver4 = 51472
static

Pi / 4.

Closest double: 0.785400390625

◆ Pi3Over4

const long Photon.Deterministic.FP.Raw.Pi3Over4 = 154416
static

3 * Pi / 4.

Closest double: 2.356201171875

◆ Pi4Over3

const long Photon.Deterministic.FP.Raw.Pi4Over3 = 274517
static

4 * Pi / 3.

Closest double: 4.18879699707031

◆ Deg2Rad

const long Photon.Deterministic.FP.Raw.Deg2Rad = 1144
static

Degrees-to-radians conversion constant.

Closest double: 0.0174560546875

◆ Rad2Deg

const long Photon.Deterministic.FP.Raw.Rad2Deg = 3754936
static

Radians-to-degrees conversion constant.

Closest double: 57.2957763671875

◆ _0

const long Photon.Deterministic.FP.Raw._0 = 0
static

FP constant representing the number 0.

Closest double: 0

◆ _1

const long Photon.Deterministic.FP.Raw._1 = 65536
static

FP constant representing the number 1.

Closest double: 1

◆ _2

const long Photon.Deterministic.FP.Raw._2 = 131072
static

FP constant representing the number 2.

Closest double: 2

◆ _3

const long Photon.Deterministic.FP.Raw._3 = 196608
static

FP constant representing the number 3.

Closest double: 3

◆ _4

const long Photon.Deterministic.FP.Raw._4 = 262144
static

FP constant representing the number 4.

Closest double: 4

◆ _5

const long Photon.Deterministic.FP.Raw._5 = 327680
static

FP constant representing the number 5.

Closest double: 5

◆ _6

const long Photon.Deterministic.FP.Raw._6 = 393216
static

FP constant representing the number 6.

Closest double: 6

◆ _7

const long Photon.Deterministic.FP.Raw._7 = 458752
static

FP constant representing the number 7.

Closest double: 7

◆ _8

const long Photon.Deterministic.FP.Raw._8 = 524288
static

FP constant representing the number 8.

Closest double: 8

◆ _9

const long Photon.Deterministic.FP.Raw._9 = 589824
static

FP constant representing the number 9.

Closest double: 9

◆ _10

const long Photon.Deterministic.FP.Raw._10 = 655360
static

FP constant representing the number 10.

Closest double: 10

◆ _99

const long Photon.Deterministic.FP.Raw._99 = 6488064
static

FP constant representing the number 99.

Closest double: 99

◆ _100

const long Photon.Deterministic.FP.Raw._100 = 6553600
static

FP constant representing the number 100.

Closest double: 100

◆ _180

const long Photon.Deterministic.FP.Raw._180 = 11796480
static

FP constant representing the number 180.

Closest double: 180

◆ _200

const long Photon.Deterministic.FP.Raw._200 = 13107200
static

FP constant representing the number 200.

Closest double: 200

◆ _360

const long Photon.Deterministic.FP.Raw._360 = 23592960
static

FP constant representing the number 360.

Closest double: 360

◆ _1000

const long Photon.Deterministic.FP.Raw._1000 = 65536000
static

FP constant representing the number 1000.

Closest double: 1000

◆ _10000

const long Photon.Deterministic.FP.Raw._10000 = 655360000
static

FP constant representing the number 10000.

Closest double: 10000

◆ _0_01

const long Photon.Deterministic.FP.Raw._0_01 = 655
static

FP constant representing the number 0.01.

Closest double: 0.0099945068359375

◆ _0_02

const long Photon.Deterministic.FP.Raw._0_02 = 1311
static

FP constant representing the number 0.02.

Closest double: 0.0200042724609375

◆ _0_03

const long Photon.Deterministic.FP.Raw._0_03 = 1966
static

FP constant representing the number 0.03.

Closest double: 0.029998779296875

◆ _0_04

const long Photon.Deterministic.FP.Raw._0_04 = 2621
static

FP constant representing the number 0.04.

Closest double: 0.0399932861328125

◆ _0_05

const long Photon.Deterministic.FP.Raw._0_05 = 3277
static

FP constant representing the number 0.05.

Closest double: 0.0500030517578125

◆ _0_10

const long Photon.Deterministic.FP.Raw._0_10 = 6554
static

FP constant representing the number 0.10.

Closest double: 0.100006103515625

◆ _0_20

const long Photon.Deterministic.FP.Raw._0_20 = 13107
static

FP constant representing the number 0.20.

Closest double: 0.199996948242188

◆ _0_25

const long Photon.Deterministic.FP.Raw._0_25 = 16384
static

FP constant representing the number 0.25.

Closest double: 0.25

◆ _0_50

const long Photon.Deterministic.FP.Raw._0_50 = 32768
static

FP constant representing the number 0.50.

Closest double: 0.5

◆ _0_75

const long Photon.Deterministic.FP.Raw._0_75 = 49152
static

FP constant representing the number 0.75.

Closest double: 0.75

◆ _0_33

const long Photon.Deterministic.FP.Raw._0_33 = 21845
static

FP constant representing the number 0.33.

Closest double: 0.333328247070313

◆ _0_99

const long Photon.Deterministic.FP.Raw._0_99 = 64881
static

FP constant representing the number 0.99.

Closest double: 0.990005493164063

◆ Minus_1

const long Photon.Deterministic.FP.Raw.Minus_1 = -65536
static

FP constant representing the number -1.

Closest double: -1

◆ Rad_360

const long Photon.Deterministic.FP.Raw.Rad_360 = 411775
static

FP constant representing 360 degrees in radian.

Closest double: 6.28318786621094

◆ Rad_180

const long Photon.Deterministic.FP.Raw.Rad_180 = 205887
static

FP constant representing 180 degrees in radian.

Closest double: 3.14158630371094

◆ Rad_90

const long Photon.Deterministic.FP.Raw.Rad_90 = 102944
static

FP constant representing 90 degrees in radian.

Closest double: 1.57080078125

◆ Rad_45

const long Photon.Deterministic.FP.Raw.Rad_45 = 51472
static

FP constant representing 45 degrees in radian.

Closest double: 0.785400390625

◆ Rad_22_50

const long Photon.Deterministic.FP.Raw.Rad_22_50 = 25736
static

FP constant representing 22.5 degrees in radian.

Closest double: 0.3927001953125

◆ _1_01

const long Photon.Deterministic.FP.Raw._1_01 = 66191
static

FP constant representing the number 1.01.

Closest double: 1.00999450683594

◆ _1_02

const long Photon.Deterministic.FP.Raw._1_02 = 66847
static

FP constant representing the number 1.02.

Closest double: 1.02000427246094

◆ _1_03

const long Photon.Deterministic.FP.Raw._1_03 = 67502
static

FP constant representing the number 1.03.

Closest double: 1.02999877929688

◆ _1_04

const long Photon.Deterministic.FP.Raw._1_04 = 68157
static

FP constant representing the number 1.04.

Closest double: 1.03999328613281

◆ _1_05

const long Photon.Deterministic.FP.Raw._1_05 = 68813
static

FP constant representing the number 1.05.

Closest double: 1.05000305175781

◆ _1_10

const long Photon.Deterministic.FP.Raw._1_10 = 72090
static

FP constant representing the number 1.10.

Closest double: 1.10000610351563

◆ _1_20

const long Photon.Deterministic.FP.Raw._1_20 = 78643
static

FP constant representing the number 1.20.

Closest double: 1.19999694824219

◆ _1_25

const long Photon.Deterministic.FP.Raw._1_25 = 81920
static

FP constant representing the number 1.25.

Closest double: 1.25

◆ _1_50

const long Photon.Deterministic.FP.Raw._1_50 = 98304
static

FP constant representing the number 1.50.

Closest double: 1.5

◆ _1_75

const long Photon.Deterministic.FP.Raw._1_75 = 114688
static

FP constant representing the number 1.75.

Closest double: 1.75

◆ _1_33

const long Photon.Deterministic.FP.Raw._1_33 = 87381
static

FP constant representing the number 1.33.

Closest double: 1.33332824707031

◆ _1_99

const long Photon.Deterministic.FP.Raw._1_99 = 130417
static

FP constant representing the number 1.99.

Closest double: 1.99000549316406

◆ EN1

const long Photon.Deterministic.FP.Raw.EN1 = 6554
static

FP constant representing the epsilon value EN1.

Closest double: 0.100006103515625

◆ EN2

const long Photon.Deterministic.FP.Raw.EN2 = 655
static

FP constant representing the epsilon value EN2.

Closest double: 0.0099945068359375

◆ EN3

const long Photon.Deterministic.FP.Raw.EN3 = 66
static

FP constant representing the epsilon value EN3.

Closest double: 0.001007080078125

◆ EN4

const long Photon.Deterministic.FP.Raw.EN4 = 7
static

FP constant representing the epsilon value EN4.

Closest double: 0.0001068115234375

◆ EN5

const long Photon.Deterministic.FP.Raw.EN5 = 1
static

FP constant representing the epsilon value EN5.

Closest double: 1.52587890625E-05

◆ Epsilon

const long Photon.Deterministic.FP.Raw.Epsilon = 66
static

FP constant representing Epsilon EN3.

Closest double: 0.001007080078125

◆ E

const long Photon.Deterministic.FP.Raw.E = 178145
static

FP constant representing the Euler Number constant.

Closest double: 2.71827697753906

◆ Log2_E

const long Photon.Deterministic.FP.Raw.Log2_E = 94548
static

FP constant representing Log(E).

Closest double: 1.44268798828125

◆ Log2_10

const long Photon.Deterministic.FP.Raw.Log2_10 = 217706
static

FP constant representing Log(10).

Closest double: 3.32192993164063