代码搜索:Sign

找到约 10,000 项符合「Sign」的源代码

代码结果 10,000
www.eeworm.com/read/178172/9416752

c iio.c

/* Integer Version 2.0, RD, 21.1.93 iio.c */ #include #include #include #include #include int fscanI(fp, a) FILE *fp; pInteger a; { regi
www.eeworm.com/read/177129/9468923

m calculate_region.m

function [region, x, y] = calculate_region(features, region) %This function recaclulated the plot region %param = max(max(abs(features))); %region = [-param param -param param Npoints]; regi
www.eeworm.com/read/176864/9480860

h macros.h

#define sign(a) ((a) < 0 ? -1 : 1) #define Int(a) ((a) < 0 ? (int)(a-0.5) : (int)(a)) #define mnint(a) ((a) < 0 ? (int)(a - 0.5) : (int)(a + 0.5)) #define mfloor(a) ((a) < 0 ? (i
www.eeworm.com/read/176688/9487706

v transform.v

module transform (clk, rst, sp, Ds, Dp); inout Ds; inout [7:0] Dp; input clk, rst, sp; reg Dst,sign; reg [7:0] Dpt; reg [3:0] counter1, counter2; assign Ds=sp?1'bz:Dst; assign Dp=!sp?8'bz:Dpt; al
www.eeworm.com/read/176500/9495674

m quantizecoeff.m

function [B,A]=QuantizeCoeff(b,a,nbits) if(nbits==32) B = b; A = a; return; end ip2=2^(nbits-1); B = floor(sign(b).*(abs(b)*ip2+0.5))/ip2; A = floor(sign(a).*(abs(a)*ip2+0.5))/ip2;
www.eeworm.com/read/372577/9503126

asm flo2432.asm

; 24位整数转化为32位浮点数 IFNDEF FLO24321 #DEFINE FLO24321 FLO2432 MOVLW D'23'+.127 ;初使化阶码 MOVWF EXP CLRF SIGN
www.eeworm.com/read/372509/9505788

cpp 8_2.cpp

//8_2 #include bool assign(); int num,interval; void main() { if(!assign()) return; int* a=new int[num]; for(int i=0; i
www.eeworm.com/read/372509/9506783

cpp ch4_4.cpp

//********************* //** ch4_4.cpp ** //********************* #include #include #include void main() { double s=0,x=1; //初始值 long k=1;
www.eeworm.com/read/372507/9507172

h curr3.h

#ifndef Currency_ #define Currency_ #include #include enum sign {plus, minus}; class Currency { public: // constructor Currency(sign s = plus,
www.eeworm.com/read/372507/9507206

h curr1.h

#ifndef Currency_ #define Currency_ #include #include enum sign {plus, minus}; class Currency { public: // constructor Currency(sign s = plus, unsi