/dports/math/maxima/maxima-5.43.2/share/contrib/fresnel/ |
H A D | randi.mac | 1 …PI)+3960*SQRT(2))^2*COS(W^2/(8000000*%PI)+99*W/25)+SFRESNEL(SQRT(2)*W/(4000*%PI)+3960*SQRT(2))^2)/…
|
H A D | randil.mac | 2 …PI)+3960*SQRT(2))^2*COS(W^2/(8000000*%PI)+99*W/25)+SFRESNEL(SQRT(2)*W/(4000*%PI)+3960*SQRT(2))^2)/…
|
H A D | d78.mac | 2 …PI*F/5000000-29*%PI/250)*SIN(%PI*(50*F^2+3192000000*F)/10000000-124999999*%PI/500000000)/SQRT(2)+4…
|
/dports/graphics/geos/geos-3.9.1/tests/unit/algorithm/ |
H A D | AngleTest.cpp | 25 double PI; member 87 ensure_equals("", Angle::normalizePositive(-PI), PI, TOL); in test() 91 ensure_equals("", Angle::normalizePositive(-3 * PI), PI, TOL); in test() 95 ensure_equals("", Angle::normalizePositive(PI), PI, TOL); in test() 99 ensure_equals("", Angle::normalizePositive(3 * PI), PI, TOL); in test() 112 ensure_equals("3", Angle::normalize(-PI), PI, TOL); in test() 113 ensure_equals("4", Angle::normalize(-1.5 * PI), .5 * PI, TOL); in test() 116 ensure_equals("7", Angle::normalize(-3 * PI), PI, TOL); in test() 119 ensure_equals("9", Angle::normalize(0.5 * PI), 0.5 * PI, TOL); in test() 120 ensure_equals("10", Angle::normalize(PI), PI, TOL); in test() [all …]
|
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/algorithm/ |
H A D | AngleTest.java | 64 assertEquals(Angle.normalizePositive(-Math.PI), Math.PI, TOLERANCE); in testNormalizePositive() 72 assertEquals(Angle.normalizePositive(Math.PI), Math.PI, TOLERANCE); in testNormalizePositive() 85 assertEquals(Angle.normalize(-0.5*Math.PI), -0.5*Math.PI, TOLERANCE); in testNormalize() 86 assertEquals(Angle.normalize(-Math.PI), Math.PI, TOLERANCE); in testNormalize() 87 assertEquals(Angle.normalize(-1.5*Math.PI), .5*Math.PI, TOLERANCE); in testNormalize() 90 assertEquals(Angle.normalize(-3*Math.PI), Math.PI, TOLERANCE); in testNormalize() 93 assertEquals(Angle.normalize(0.5*Math.PI), 0.5*Math.PI, TOLERANCE); in testNormalize() 94 assertEquals(Angle.normalize(Math.PI), Math.PI, TOLERANCE); in testNormalize() 95 assertEquals(Angle.normalize(1.5*Math.PI), -0.5*Math.PI, TOLERANCE); in testNormalize() 97 assertEquals(Angle.normalize(2.5*Math.PI), 0.5*Math.PI, TOLERANCE); in testNormalize() [all …]
|
/dports/games/searchandrescue/searchandrescue_1.4.0/sar/ |
H A D | sardrawhuman.c | 102 torso_angle = (float)(1.5 * PI); in SARDrawHumanIterate() 124 torso_angle = (float)(0.0 * PI); in SARDrawHumanIterate() 140 torso_angle = (float)(0.0 * PI); in SARDrawHumanIterate() 157 torso_angle = (float)(0.0 * PI); in SARDrawHumanIterate() 174 torso_angle = (float)(0.0 * PI); in SARDrawHumanIterate() 230 (0.2 - (0.5 * anim_coeff)) * PI in SARDrawHumanIterate() 254 torso_angle = (float)(0.0 * PI); in SARDrawHumanIterate() 290 (0.7 + (0.4 * anim_coeff)) * PI in SARDrawHumanIterate() 293 (1.3 - (0.4 * anim_coeff)) * PI in SARDrawHumanIterate() 360 (float)(r * sin(theta * PI)), in SARDrawHumanIterate() [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/t/ |
H A D | angles.t | 14 use Slic3r::Geometry qw(rad2deg_dir angle3points PI); 20 is line_atan([ [10, 0], [0, 0] ]), (PI), 'W atan2'; 21 is line_atan([ [0, 0], [0, 10] ]), (PI/2), 'N atan2'; 22 is line_atan([ [0, 10], [0, 0] ]), -(PI/2), 'S atan2'; 62 is rad2deg_dir(PI), 270, 'W (degrees)'; 63 is rad2deg_dir(PI/2), 0, 'N (degrees)'; 64 is rad2deg_dir(-(PI/2)), 180, 'S (degrees)'; 65 is rad2deg_dir(PI*1/4), 45, 'NE (degrees)'; 66 is rad2deg_dir(PI*3/4), 135, 'NW (degrees)'; 67 is rad2deg_dir(PI/6), 60, '30°'; [all …]
|
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/ununpack/agent/ |
H A D | traverse.c | 40 ParentInfo PI; in TraverseStart() local 42 PI.Cmd = 0; in TraverseStart() 44 PI.EndTime = PI.StartTime; in TraverseStart() 314 CI.PI.Cmd=PI->Cmd; /* inherit */ in Traverse() 315 CI.PI.StartTime = PI->StartTime; in Traverse() 316 CI.PI.EndTime = PI->EndTime; in Traverse() 317 CI.PI.uploadtree_pk = PI->uploadtree_pk; in Traverse() 344 if (PI->Cmd) DisplayContainerInfo(&CI,PI->Cmd); in Traverse() 456 Queue[Index].PI.StartTime = CI.PI.StartTime; in Traverse() 458 Queue[Index].PI.Cmd = CI.PI.Cmd; in Traverse() [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/polynomials/tests/unit_tests/ |
H A D | roots.tst | 97 PI=[]; 119 PI=[]; 124 PI(1)=0; 126 PI(3)=0; 127 PI(4)=1; 144 PI=[]; 156 PI(1)=0; 160 PI(5)=0; 164 PI(9)=0; 180 PI=[]; [all …]
|
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_videoEncoder/x265/ |
H A D | ADM_x265Setup.cpp | 291 PI(cpuid); in dumpx265Setup() 299 PI(logLevel); in dumpx265Setup() 311 PI(fpsNum); in dumpx265Setup() 312 PI(fpsDenom); in dumpx265Setup() 315 PI(levelIdc); in dumpx265Setup() 325 PI(maxCUSize); in dumpx265Setup() 333 PI(bOpenGOP); in dumpx265Setup() 338 PI(bframes); in dumpx265Setup() 339 PI(bBPyramid); in dumpx265Setup() 373 PI(rdPenalty); in dumpx265Setup() [all …]
|
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_videoEncoder/x265/ |
H A D | ADM_x265Setup.cpp | 291 PI(cpuid); in dumpx265Setup() 299 PI(logLevel); in dumpx265Setup() 311 PI(fpsNum); in dumpx265Setup() 312 PI(fpsDenom); in dumpx265Setup() 315 PI(levelIdc); in dumpx265Setup() 325 PI(maxCUSize); in dumpx265Setup() 333 PI(bOpenGOP); in dumpx265Setup() 338 PI(bframes); in dumpx265Setup() 339 PI(bBPyramid); in dumpx265Setup() 373 PI(rdPenalty); in dumpx265Setup() [all …]
|
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_plugins/ADM_videoEncoder/x265/ |
H A D | ADM_x265Setup.cpp | 291 PI(cpuid); in dumpx265Setup() 299 PI(logLevel); in dumpx265Setup() 311 PI(fpsNum); in dumpx265Setup() 312 PI(fpsDenom); in dumpx265Setup() 315 PI(levelIdc); in dumpx265Setup() 325 PI(maxCUSize); in dumpx265Setup() 333 PI(bOpenGOP); in dumpx265Setup() 338 PI(bframes); in dumpx265Setup() 339 PI(bBPyramid); in dumpx265Setup() 373 PI(rdPenalty); in dumpx265Setup() [all …]
|
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_plugins/ADM_videoEncoder/x265/ |
H A D | ADM_x265Setup.cpp | 291 PI(cpuid); in dumpx265Setup() 299 PI(logLevel); in dumpx265Setup() 311 PI(fpsNum); in dumpx265Setup() 312 PI(fpsDenom); in dumpx265Setup() 315 PI(levelIdc); in dumpx265Setup() 325 PI(maxCUSize); in dumpx265Setup() 333 PI(bOpenGOP); in dumpx265Setup() 338 PI(bframes); in dumpx265Setup() 339 PI(bBPyramid); in dumpx265Setup() 373 PI(rdPenalty); in dumpx265Setup() [all …]
|
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/plugins/math/test/basic/ |
H A D | input.scss | 4 PI: $PI; 18 pow: pow($E, $PI); 21 sin: sin($PI/2); 24 cos: cos($PI/2); 27 tan: tan($PI/3); 30 sec: sec($PI/3); 33 csc: csc($PI/3); 36 cot: cot($PI/2); 40 sinh: sinh($PI/2); 43 cosh: cosh($PI/2); [all …]
|
/dports/misc/nn-insight/nn-insight-1.0.5/ |
H A D | compute.cpp | 30 typedef PluginInterface PI; typedef 38 template<PI::OperatorOptionName Option, PI::OperatorOptionType OType, typename CType> 53 const PI::Model *model in CopyTensorSlices() 54 , PI::TensorId one in CopyTensorSlices() 88 const PI::Model *model, in buildComputeInputs() 288 const PI::Model *model, in compute() 469 PI::ActivationFunction activationFunction = PI::ActivationFunction_NONE; in compute() 534 PI::ActivationFunction activationFunction = PI::ActivationFunction_NONE; in compute() 631 PI::ActivationFunction activationFunction = PI::ActivationFunction_NONE; in compute() 734 PI::ActivationFunction activationFunction = PI::ActivationFunction_NONE; in compute() [all …]
|
/dports/devel/urjtag/urjtag-2021.03/data/bsdl/ |
H A D | STD_1149_1_1994 | 195 ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, PI), 196 (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 197 (INPUT, INTEST, PI), (OUTPUT2, INTEST, PI), 198 (INPUT, RUNBIST, PI), (OUTPUT2, RUNBIST, PI), 199 (OUTPUT3, EXTEST, PI), (INTERNAL, EXTEST, PI), 200 (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 237 (CLOCK, EXTEST, PI), (INTERNAL, EXTEST, PI), 238 (CLOCK, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 239 (CLOCK, INTEST, PI), (INTERNAL, INTEST, PI), 245 ((INPUT, EXTEST, PI), (CONTROL, EXTEST, PI), [all …]
|
H A D | STD_1149_1_2001 | 195 ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, PI), 196 (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 197 (INPUT, INTEST, PI), (OUTPUT2, INTEST, PI), 198 (INPUT, RUNBIST, PI), (OUTPUT2, RUNBIST, PI), 199 (OUTPUT3, EXTEST, PI), (INTERNAL, EXTEST, PI), 200 (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 237 (CLOCK, EXTEST, PI), (INTERNAL, EXTEST, PI), 238 (CLOCK, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 239 (CLOCK, INTEST, PI), (INTERNAL, INTEST, PI), 245 ((INPUT, EXTEST, PI), (CONTROL, EXTEST, PI), [all …]
|
H A D | STD_1149_1_1990 | 192 ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, PI), 193 (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 194 (INPUT, INTEST, PI), (OUTPUT2, INTEST, PI), 195 (INPUT, RUNBIST, PI), (OUTPUT2, RUNBIST, PI), 196 (OUTPUT3, EXTEST, PI), (INTERNAL, EXTEST, PI), 197 (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 234 (CLOCK, EXTEST, PI), (INTERNAL, EXTEST, PI), 235 (CLOCK, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 236 (CLOCK, INTEST, PI), (INTERNAL, INTEST, PI), 242 ((INPUT, EXTEST, PI), (CONTROL, EXTEST, PI), [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/examples/step-38/ |
H A D | step-38.cc | 189 return_value[0] = PI * cos(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in gradient() 222 hessian[0][0] = -PI * PI * sin(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in value() 223 hessian[1][1] = -PI * PI * sin(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in value() 226 hessian[0][1] = -PI * PI * cos(PI * p(0)) * sin(PI * p(1)) * exp(p(2)); in value() 227 hessian[1][0] = -PI * PI * cos(PI * p(0)) * sin(PI * p(1)) * exp(p(2)); in value() 229 hessian[0][2] = PI * cos(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in value() 230 hessian[2][0] = PI * cos(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in value() 232 hessian[1][2] = -PI * sin(PI * p(0)) * sin(PI * p(1)) * exp(p(2)); in value() 233 hessian[2][1] = -PI * sin(PI * p(0)) * sin(PI * p(1)) * exp(p(2)); in value() 236 gradient[0] = PI * cos(PI * p(0)) * cos(PI * p(1)) * exp(p(2)); in value() [all …]
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/motion/ |
H A D | motiontoto.cpp | 580 pos.x += sinf(m_time*Math::PI*2.07f)*(Math::PI/50.0f)+ in EventFrame() 581 sinf(m_time*Math::PI*2.59f)*(Math::PI/70.0f)+ in EventFrame() 582 sinf(m_time*Math::PI*2.67f)*(Math::PI/90.0f); in EventFrame() 584 pos.y += sinf(m_time*Math::PI*2.22f)*(Math::PI/50.0f)+ in EventFrame() 585 sinf(m_time*Math::PI*2.36f)*(Math::PI/70.0f)+ in EventFrame() 586 sinf(m_time*Math::PI*3.01f)*(Math::PI/90.0f); in EventFrame() 588 pos.z += sinf(m_time*Math::PI*2.11f)*(Math::PI/50.0f)+ in EventFrame() 589 sinf(m_time*Math::PI*2.83f)*(Math::PI/70.0f)+ in EventFrame() 590 sinf(m_time*Math::PI*3.09f)*(Math::PI/90.0f); in EventFrame() 598 pos.x += sinf(m_time*Math::PI*2.33f)*(Math::PI/50.0f)+ in EventFrame() [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/libm-0.2.1/src/math/ |
H A D | atan2.rs | 72 2 => PI, /* atan(+0,-anything) = PI */ in atan2() 73 _ => -PI, /* atan(-0,-anything) =-PI */ in atan2() 78 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 93 2 => PI, /* atan(+...,-INF) */ in atan2() 94 _ => -PI, /* atan(-...,-INF) */ in atan2() 100 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 113 2 => PI - (z - PI_LO), /* atan(+,-) */ in atan2() 114 _ => (z - PI_LO) - PI, /* atan(-,-) */ in atan2() 121 assert_eq!(atan2(0.0, -1.0), PI); in sanity_check() 122 assert_eq!(atan2(-0.0, -1.0), -PI); in sanity_check() [all …]
|
/dports/games/genact/genact-0.10.0/cargo-crates/libm-0.2.1/src/math/ |
H A D | atan2.rs | 72 2 => PI, /* atan(+0,-anything) = PI */ in atan2() 73 _ => -PI, /* atan(-0,-anything) =-PI */ in atan2() 78 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 93 2 => PI, /* atan(+...,-INF) */ in atan2() 94 _ => -PI, /* atan(-...,-INF) */ in atan2() 100 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 113 2 => PI - (z - PI_LO), /* atan(+,-) */ in atan2() 114 _ => (z - PI_LO) - PI, /* atan(-,-) */ in atan2() 121 assert_eq!(atan2(0.0, -1.0), PI); in sanity_check() 122 assert_eq!(atan2(-0.0, -1.0), -PI); in sanity_check() [all …]
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/libm-0.2.1/src/math/ |
H A D | atan2.rs | 72 2 => PI, /* atan(+0,-anything) = PI */ in atan2() 73 _ => -PI, /* atan(-0,-anything) =-PI */ in atan2() 78 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 93 2 => PI, /* atan(+...,-INF) */ in atan2() 94 _ => -PI, /* atan(-...,-INF) */ in atan2() 100 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 113 2 => PI - (z - PI_LO), /* atan(+,-) */ in atan2() 114 _ => (z - PI_LO) - PI, /* atan(-,-) */ in atan2() 121 assert_eq!(atan2(0.0, -1.0), PI); in sanity_check() 122 assert_eq!(atan2(-0.0, -1.0), -PI); in sanity_check() [all …]
|
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/libm-0.2.1/src/math/ |
H A D | atan2.rs | 72 2 => PI, /* atan(+0,-anything) = PI */ in atan2() 73 _ => -PI, /* atan(-0,-anything) =-PI */ in atan2() 78 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 93 2 => PI, /* atan(+...,-INF) */ in atan2() 94 _ => -PI, /* atan(-...,-INF) */ in atan2() 100 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 113 2 => PI - (z - PI_LO), /* atan(+,-) */ in atan2() 114 _ => (z - PI_LO) - PI, /* atan(-,-) */ in atan2() 121 assert_eq!(atan2(0.0, -1.0), PI); in sanity_check() 122 assert_eq!(atan2(-0.0, -1.0), -PI); in sanity_check() [all …]
|
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/libm-0.2.1/src/math/ |
H A D | atan2.rs | 72 2 => PI, /* atan(+0,-anything) = PI */ in atan2() 73 _ => -PI, /* atan(-0,-anything) =-PI */ in atan2() 78 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 93 2 => PI, /* atan(+...,-INF) */ in atan2() 94 _ => -PI, /* atan(-...,-INF) */ in atan2() 100 return if m & 1 != 0 { -PI / 2.0 } else { PI / 2.0 }; in atan2() 113 2 => PI - (z - PI_LO), /* atan(+,-) */ in atan2() 114 _ => (z - PI_LO) - PI, /* atan(-,-) */ in atan2() 121 assert_eq!(atan2(0.0, -1.0), PI); in sanity_check() 122 assert_eq!(atan2(-0.0, -1.0), -PI); in sanity_check() [all …]
|