/dports/www/lagrange/lagrange-1.7.3/lib/the_Foundation/include/the_Foundation/ |
H A D | fixed.h | 87 iLocalDef iFixed add_Fixed(const iFixed a, const iFixed b) { in add_Fixed() 91 iLocalDef void addv_Fixed(iFixed *a, const iFixed b) { in addv_Fixed() 95 iLocalDef iFixed sub_Fixed(const iFixed a, const iFixed b) { in sub_Fixed() 99 iLocalDef void subv_Fixed(iFixed *a, const iFixed b) { in subv_Fixed() 103 iLocalDef iFixed mul_Fixed(const iFixed a, const iFixed b) { in mul_Fixed() 107 iLocalDef void mulv_Fixed(iFixed *a, const iFixed b) { in mulv_Fixed() 111 iLocalDef iFixed muli_Fixed(const iFixed a, int i) { in muli_Fixed() 115 iLocalDef iFixed mulf_Fixed(const iFixed a, float f) { in mulf_Fixed() 119 iLocalDef iFixed div_Fixed(const iFixed a, const iFixed b) { in div_Fixed() 127 iLocalDef iFixed divi_Fixed(const iFixed a, int i) { in divi_Fixed() [all …]
|
H A D | fixed3.h | 35 iFixed x, y, z; 38 iLocalDef iFixed3 init1_X3(const iFixed x) { in init1_X3() 50 iLocalDef iFixed3 init_X3(const iFixed x, const iFixed y, const iFixed z) { in init_X3() 62 iLocalDef iFixed3 initv_X3(const iFixed *v) { in initv_X3() 74 iLocalDef void store_X3(const iFixed3 d, iFixed *p_out) { in store_X3() 80 iLocalDef iFixed3 addX_X3 (const iFixed3 a, const iFixed dx) { return (iFixed3){ add_Fixed(a.x, … in addX_X3() 81 iLocalDef iFixed3 addY_X3 (const iFixed3 a, const iFixed dy) { return (iFixed3){ a.x, add_Fixed(… in addY_X3() 159 iLocalDef iFixed dot_X3 (const iFixed3 a, const iFixed3 b) { return sum_X3(mul_X3(a, b)… in dot_X3() 160 iLocalDef iFixed lengthSq_X3 (const iFixed3 a) { return dot_X3(a, a); } in lengthSq_X3() 162 iLocalDef iFixed length_X3 (const iFixed3 a) { return initf_Fixed(lengthf_X3(a)); } in length_X3() [all …]
|
H A D | fixed2.h | 35 iFixed x, y; 38 iLocalDef iFixed2 init1_X2(const iFixed x) { in init1_X2() 50 iLocalDef iFixed2 init_X2(const iFixed x, const iFixed y) { in init_X2() 62 iLocalDef iFixed2 initv_X2(const iFixed *v) { in initv_X2() 74 iLocalDef void store_X2(const iFixed2 d, iFixed *p_out) { in store_X2() 83 iLocalDef iFixed2 addX_X2 (const iFixed2 a, const iFixed dx) { return (iFixed2){ add_Fixed(a.x, … in addX_X2() 84 iLocalDef iFixed2 addY_X2 (const iFixed2 a, const iFixed dy) { return (iFixed2){ a.x, add_Fixed(… in addY_X2() 145 iLocalDef iFixed dot_X2 (const iFixed2 a, const iFixed2 b) { return sum_X2(mul_X2(a, b)… in dot_X2() 146 iLocalDef iFixed lengthSq_X2 (const iFixed2 a) { return dot_X2(a, a); } in lengthSq_X2() 148 iLocalDef iFixed length_X2 (const iFixed2 a) { return initf_Fixed(lengthf_X2(a)); } in length_X2() [all …]
|
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/encode/ |
H A D | segenc.c | 67 iFixed = 4; in EncodeSignificantAbsLevel() 69 iFixed++; in EncodeSignificantAbsLevel() 70 assert (iFixed < 30); in EncodeSignificantAbsLevel() 76 if (iFixed > 18) { in EncodeSignificantAbsLevel() 78 if (iFixed > 21) { in EncodeSignificantAbsLevel() 80 putBit16 (pOut, iFixed - 22, 3); // 22 - 29 in EncodeSignificantAbsLevel() 83 putBit16z (pOut, iFixed - 19, 2); // 19 20 21 in EncodeSignificantAbsLevel() 86 putBit16z(pOut, (iFixed - 4), 4); in EncodeSignificantAbsLevel() 88 putBit32(pOut, iAbsLevel, iFixed); in EncodeSignificantAbsLevel() 92 iFixed = aFixedLength[iIndex]; in EncodeSignificantAbsLevel() [all …]
|
/dports/graphics/freeimage/FreeImage/Source/LibJXR/image/decode/ |
H A D | segdec.c | 742 Int iFixed, iLevel; in DecodeSignificantAbsLevel() local 753 iFixed = aFixedLength[iIndex]; in DecodeSignificantAbsLevel() 754 iLevel = aRemap[iIndex] + _getBit16 (pIO, iFixed); in DecodeSignificantAbsLevel() 757 iFixed = _getBit16 (pIO, 4) + 4; in DecodeSignificantAbsLevel() 758 if (iFixed == 19) { in DecodeSignificantAbsLevel() 759 iFixed += _getBit16 (pIO, 2); in DecodeSignificantAbsLevel() 760 if (iFixed == 22) { in DecodeSignificantAbsLevel() 761 iFixed += _getBit16 (pIO, 3); in DecodeSignificantAbsLevel() 764 iLevel = 2 + (1 << iFixed); in DecodeSignificantAbsLevel() 765 iIndex = getBit32 (pIO, iFixed); in DecodeSignificantAbsLevel()
|
/dports/www/lagrange/lagrange-1.7.3/lib/the_Foundation/tests/ |
H A D | t_math.c | 45 static void printFixed(const iFixed x) { in printFixed() 58 static void printx(const char *msg, const iFixed x) { in printx() 111 iFixed: printx, \
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/ |
H A D | disc_flt.c | 48 double iFixed; // Current supplied by rP & rN if used. member 250 i = context->iFixed; in dst_op_amp_filt_step() 412 context->iFixed = 0; in dst_op_amp_filt_reset() 413 if (info->rP != 0) context->iFixed = (info->vP - info->vRef) / info->rP; in dst_op_amp_filt_reset() 414 if (info->rN != 0) context->iFixed += (info->vN - info->vRef) / info->rN; in dst_op_amp_filt_reset()
|
H A D | disc_wav.c | 72 double iFixed; // fixed current athe the input member 474 i = context->iFixed; in dss_op_amp_osc_step() 600 context->iFixed = 0; in dss_op_amp_osc_reset() 601 if (info->r6 != 0) context->iFixed += info->vP / info->r6; in dss_op_amp_osc_reset() 602 context->iFixed += OP_AMP_NORTON_VBE / info->r1; in dss_op_amp_osc_reset() 603 context->iFixed += OP_AMP_NORTON_VBE / info->r2; in dss_op_amp_osc_reset()
|
/dports/editors/abiword/abiword-3.0.5/src/wp/ap/xp/ |
H A D | ap_LeftRuler.cpp | 786 UT_sint32 AP_LeftRuler::setTableLineDrag(PT_DocPosition pos, UT_sint32 & iFixed, UT_sint32 y) in setTableLineDrag() argument 794 iFixed = pG->tlu(s_iFixedWidth); in setTableLineDrag() 816 iFixed = static_cast<UT_sint32>(UT_MAX(pG->tlu(m_iWidth),pG->tlu(s_iFixedWidth))); in setTableLineDrag() 820 iFixed = pG->tlu(s_iFixedWidth); in setTableLineDrag() 833 …th %d height %d iFixed/2 %d y %d \n",i,rCell.left,rCell.top,rCell.width,rCell.height,iFixed/2,y)); in setTableLineDrag() 834 if(rCell.containsPoint(iFixed/2,y)) in setTableLineDrag()
|
H A D | ap_LeftRuler.h | 145 UT_sint32 setTableLineDrag(PT_DocPosition pos, UT_sint32 & iFixed, UT_sint32 y);
|
H A D | ap_TopRuler.h | 207 UT_sint32 setTableLineDrag(PT_DocPosition pos, UT_sint32 x, UT_sint32 & iFixed);
|
H A D | ap_TopRuler.cpp | 2072 UT_sint32 AP_TopRuler::setTableLineDrag(PT_DocPosition pos, UT_sint32 x, UT_sint32 & iFixed) in setTableLineDrag() argument 2090 …iFixed = static_cast<UT_sint32>(pView->getGraphics()->tlu(UT_MAX(m_iLeftRulerWidth,s_iFixedWidth))… in setTableLineDrag() 2093 iFixed = 0; in setTableLineDrag() 2095 x += iFixed; in setTableLineDrag()
|
/dports/x11-toolkits/open-motif/motif-2.3.8/ |
H A D | ChangeLog | 2267 * iFixed bug 1226 2271 * iFixed bug 1207 2275 * iFixed bug 1207 2279 * iFixed bug 1197
|