Home
last modified time | relevance | path

Searched refs:fixpt (Results 1 – 25 of 54) sorted by relevance

123

/dports/games/brogue/BrogueCE-1.10.1/src/brogue/
H A DPowerTables.c55 int staffProtection(fixpt enchant) { in staffProtection()
58 int staffPoison(fixpt enchant) { in staffPoison()
59 const fixpt POW_POISON[] = { in staffPoison()
70 fixpt ringWisdomMultiplier(fixpt enchant) { in ringWisdomMultiplier()
71 const fixpt POW_WISDOM[] = { in ringWisdomMultiplier()
108 const fixpt POW_REFLECT[] = { in reflectionChance()
124 const fixpt POW_REGEN[] = { in turnsForFullRegenInThousandths()
136 fixpt damageFraction(fixpt netEnchant) { in damageFraction()
159 fixpt accuracyFraction(fixpt netEnchant) { in accuracyFraction()
182 fixpt defenseFraction(fixpt netDefense) { in defenseFraction()
[all …]
H A DMath.c191 fixpt fp_round(fixpt x) { in fp_round()
213 static fixpt fp_exp2(int n) { in fp_exp2()
219 fixpt fp_sqrt(fixpt u) { in fp_sqrt()
221 static const fixpt SQUARE_ROOTS[] = { // values were computed by the code that follows in fp_sqrt()
243 fixpt x = 0, fx, upper, lower; in fp_sqrt()
267 fixpt fp_pow(fixpt base, int expn) { in fp_pow()
275 fixpt res = FP_FACTOR, err = 0; in fp_pow()
H A DRogue.h114 typedef long long fixpt; typedef
2302 fixpt minersLightRadius;
2691 fixpt fp_round(fixpt x);
2692 fixpt fp_pow(fixpt base, int expn);
2693 fixpt fp_sqrt(fixpt val);
3013 fixpt netEnchant(item *theItem);
3241 int staffPoison(fixpt enchant);
3248 fixpt ringWisdomMultiplier(fixpt enchant);
3265 fixpt damageFraction(fixpt netEnchant);
3266 fixpt accuracyFraction(fixpt netEnchant);
[all …]
/dports/math/gap/gap-4.11.0/pkg/cohomolo-1.6.8/standalone/progs.d/
H A Degp.c6 lorb[],fixpt[],fixb[],pno[],*pptr[],*svptr[],mnpt,mp,mb;
38 *pno=0; fixpt[nb+1]=0; in egprog()
41 fixpt[l]= *pno; in egprog()
43 for (l=stab;l>=1;l--) fixpt[l]=fixpt[stab+1]; in egprog()
45 { olfb=fixpt[l+1]; nlfb=fixpt[l]; in egprog()
54 {*pno=fixpt[m]; if (orbitsv(base[m],svptr[m],0)<lorb[m]) pno[i]=z;} in egprog()
60 { z=fixpt[i]; in egprog()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/
H A Draw_hl_reco.cc114 const float fixpt = fixthresh * minpt; in HLRecovery_blend() local
191 if (in[col] > fixpt) { in HLRecovery_blend()
192 float rfrac = SQR((min(clip[0], in[col]) - fixpt) / (clip[0] - fixpt)); in HLRecovery_blend()
196 if (in[col+1] > fixpt) { in HLRecovery_blend()
197 float gfrac = SQR((min(clip[1], in[col+1]) - fixpt) / (clip[1] - fixpt)); in HLRecovery_blend()
201 if (in[col+2] > fixpt) { in HLRecovery_blend()
202 float bfrac = SQR((min(clip[2], in[col+2]) - fixpt) / (clip[2] - fixpt)); in HLRecovery_blend()
H A Draw_output.hh302 const float fixpt = fixthresh * minpt; in HLRecovery_blend() local
379 if (in[col] > fixpt) { in HLRecovery_blend()
380 float rfrac = SQR((min(clip[0], in[col]) - fixpt) / (clip[0] - fixpt)); in HLRecovery_blend()
384 if (in[col+1] > fixpt) { in HLRecovery_blend()
385 float gfrac = SQR((min(clip[1], in[col+1]) - fixpt) / (clip[1] - fixpt)); in HLRecovery_blend()
389 if (in[col+2] > fixpt) { in HLRecovery_blend()
390 float bfrac = SQR((min(clip[2], in[col+2]) - fixpt) / (clip[2] - fixpt)); in HLRecovery_blend()
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/test/system_tests/pcf_mono/
H A Dexamples.mod20 (fixpt fib\ fn n\ cond (zerop @ n) (in 0)
26 (fixpt map\ fn f\ fn l\
31 (fixpt mem\ fn x\ fn l\
37 (fixpt f\ fn n\ fn m\
42 (fixpt app\ fn l\ fn k\
46 (fixpt f\ fn x\ fn y\
H A Dpcf.sig15 type fixpt (tm -> tm) -> tm. % fixed point constructor for recursion type
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/test/system_tests/pcf_poly/
H A Dexamples.mod20 (fixpt fib\ fn n\ cond (zerop @ n) (in 0)
26 (fixpt map\ fn f\ fn l\
31 (fixpt mem\ fn x\ fn l\
37 (fixpt f\ fn n\ fn m\
42 (fixpt app\ fn l\ fn k\
46 (fixpt f\ fn x\ fn y\
H A Dpcf.sig15 type fixpt (tm -> tm) -> tm. % fixed point constructor for recursion type
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/test/system_tests/pcf_eval/
H A Dexamples.mod20 (fixpt fib\ fn n\ cond (zerop @ n) (in 0)
26 (fixpt map\ fn f\ fn l\
31 (fixpt mem\ fn x\ fn l\
37 (fixpt f\ fn n\ fn m\
42 (fixpt app\ fn l\ fn k\
46 (fixpt f\ fn x\ fn y\
H A Deval.mod16 eval (fixpt R) V :- eval (R (fixpt R)) V.
H A Dpcf.sig15 type fixpt (tm -> tm) -> tm. % fixed point constructor for recursion type
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/test/system_tests/pcf_tr/
H A Dexamples.mod20 (fixpt fib\ fn n\ cond (zerop @ n) (in 0)
26 (fixpt map\ fn f\ fn l\
31 (fixpt mem\ fn x\ fn l\
37 (fixpt f\ fn n\ fn m\
42 (fixpt app\ fn l\ fn k\
46 (fixpt f\ fn x\ fn y\
H A Dtr.t85 T = fixpt (W1\ fn (W2\ fn (W3\ cond (nullp @ W3) false (cond (and @ (consp @ W3) @ (equal @ (car @ …
99 T = fixpt (W1\ fn (W2\ fn (W3\ cond (equal @ W2 @ in 0) W3 (W1 @ (minus @ W2 @ in 1) @ (times @ W2 …
125 T = fixpt (W1\ fn (W2\ fn (W3\ cond (equal @ in 1 @ W2) (in 1) (cond (greater @ W3 @ W2) (W1 @ W3 @…
H A Dpcf.sig15 type fixpt (tm -> tm) -> tm. % fixed point constructor for recursion type
/dports/math/teyjus/teyjus-2.1-7-ge63f40a/examples/pcf/
H A Dexamples.mod20 (fixpt fib\ fn n\ cond (zerop @ n) (in 0)
26 (fixpt map\ fn f\ fn l\
31 (fixpt mem\ fn x\ fn l\
37 (fixpt f\ fn n\ fn m\
42 (fixpt app\ fn l\ fn k\
46 (fixpt f\ fn x\ fn y\
H A Deval.mod16 eval (fixpt R) V :- eval (R (fixpt R)) V.
H A Dpcf.sig15 type fixpt (tm -> tm) -> tm. % fixed point constructor for recursion type
/dports/graphics/photoflow/PhotoFlow-8472024f/src/legacy/operations/
H A Draw_output.hh248 const float fixpt = fixthresh * minpt; in HLRecovery_blend() local
325 if (in[col] > fixpt) { in HLRecovery_blend()
326 float rfrac = SQR((min(clip[0], in[col]) - fixpt) / (clip[0] - fixpt)); in HLRecovery_blend()
330 if (in[col+1] > fixpt) { in HLRecovery_blend()
331 float gfrac = SQR((min(clip[1], in[col+1]) - fixpt) / (clip[1] - fixpt)); in HLRecovery_blend()
335 if (in[col+2] > fixpt) { in HLRecovery_blend()
336 float bfrac = SQR((min(clip[2], in[col+2]) - fixpt) / (clip[2] - fixpt)); in HLRecovery_blend()
/dports/graphics/tesseract/tesseract-5.0.0/src/wordrec/
H A Dchopper.cpp320 SEAM *Wordrec::improve_one_blob(const std::vector<BLOB_CHOICE *> &blob_choices, DANGERR *fixpt, in improve_one_blob() argument
326 auto blob = select_blob_to_split_from_fixpt(fixpt); in improve_one_blob()
332 fixpt->clear(); in improve_one_blob()
464 SEAM *seam = improve_one_blob(blob_choices, &best_choice_bundle->fixpt, false, false, word, in improve_by_chopping()
478 best_choice_bundle->fixpt.clear(); in improve_by_chopping()
605 int Wordrec::select_blob_to_split_from_fixpt(DANGERR *fixpt) { in select_blob_to_split_from_fixpt() argument
606 if (!fixpt) { in select_blob_to_split_from_fixpt()
609 for (auto &i : *fixpt) { in select_blob_to_split_from_fixpt()
H A Dlm_pain_points.cpp129 void LMPainPoints::GenerateFromAmbigs(const DANGERR &fixpt, ViterbiStateEntry *vse, in GenerateFromAmbigs() argument
133 for (auto danger : fixpt) { in GenerateFromAmbigs()
/dports/graphics/tesseract/tesseract-5.0.0/src/dict/
H A Dstopper.cpp158 bool Dict::NoDangerousAmbig(WERD_CHOICE *best_choice, DANGERR *fixpt, bool fix_replaceable, in NoDangerousAmbig() argument
231 if (fixpt != nullptr) { in NoDangerousAmbig()
233 fixpt->push_back(DANGERR_INFO(blob_index, blob_index + num_wrong_blobs, replace, in NoDangerousAmbig()
306 if (fixpt != nullptr) { in NoDangerousAmbig()
335 fixpt->push_back( in NoDangerousAmbig()
/dports/astro/phd2/phd2-2.6.10/cameras/
H A DSXMacLib.c338 UInt16 fixpt; in sxSetCameraParams() local
356 fixpt = (UInt16)(params->pix_width * 256); in sxSetCameraParams()
357 setup_data[USB_REQ_DATA + 8] = (UInt8)fixpt; in sxSetCameraParams()
358 setup_data[USB_REQ_DATA + 9] = fixpt >> 8; in sxSetCameraParams()
359 fixpt = (UInt16)(params->pix_height * 256); in sxSetCameraParams()
360 setup_data[USB_REQ_DATA + 10] = (UInt8)fixpt; in sxSetCameraParams()
361 setup_data[USB_REQ_DATA + 11] = fixpt >> 8; in sxSetCameraParams()
/dports/devel/p5-Proc-ProcessTable/Proc-ProcessTable-0.634/os/
H A DFreeBSD-kvm.c142 #define fxtofl(fixpt) ((double)(fixpt) / fscale) in OS_get_table() argument

123