亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ansimath.c

?? vxworks的完整的源代碼
?? C
?? 第 1 頁 / 共 5 頁
字號(hào):
        intPart = dat.ddat;        fracPart = value - intPart;        }    else if (exp <= 52)        {        dat.ldat.l2 &= (-1 << (52 - exp));        intPart = dat.ddat;        fracPart = value - intPart;	}    else        {        fracPart = 0.;        intPart = value;        }    *pIntPart = (negflag ? -intPart : intPart);    return (negflag ? -fracPart : fracPart);    }/* pow.c - math routines *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01e,05feb93,jdi  doc changes based on kdl review.01d,02dec92,jdi  doc tweaks.01c,28oct92,jdi  documentation cleanup.01b,20sep92,smb  documentation additions01a,08jul92,smb  documentation.*//*DESCRIPTION* Copyright (c) 1985 Regents of the University of California.* All rights reserved.** Redistribution and use in source and binary forms are permitted* provided that the above copyright notice and this paragraph are* duplicated in all such forms and that any documentation,* advertising materials, and other materials related to such* distribution and use acknowledge that the software was developed* by the University of California, Berkeley.  The name of the* University may not be used to endorse or promote products derived* from this software without specific prior written permission.* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.** All recipients should regard themselves as participants in an ongoing* research project and hence should feel obligated to report their* experiences (good or bad) with these elementary function codes, using* the sendbug(8) program, to the authors.*SEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "math.h"#include "private/mathP.h"#if defined(vax)||defined(tahoe)	/* VAX D format */#include <errno.h>extern double infnan();#ifdef vax#define _0x(A,B)	0x/**/A/**/B#else	/* vax */#define _0x(A,B)	0x/**/B/**/A#endif	/* vax *//* static double *//* ln2hi  =  6.9314718055829871446E-1    , Hex  2^  0   *  .B17217F7D00000 *//* ln2lo  =  1.6465949582897081279E-12   , Hex  2^-39   *  .E7BCD5E4F1D9CC *//* invln2 =  1.4426950408889634148E0     , Hex  2^  1   *  .B8AA3B295C17F1 *//* sqrt2  =  1.4142135623730950622E0     ; Hex  2^  1   *  .B504F333F9DE65 */static long     ln2hix[] = { _0x(7217,4031), _0x(0000,f7d0)};static long     ln2lox[] = { _0x(bcd5,2ce7), _0x(d9cc,e4f1)};static long    invln2x[] = { _0x(aa3b,40b8), _0x(17f1,295c)};static long     sqrt2x[] = { _0x(04f3,40b5), _0x(de65,33f9)};#define    ln2hi    (*(double*)ln2hix)#define    ln2lo    (*(double*)ln2lox)#define   invln2    (*(double*)invln2x)#define    sqrt2    (*(double*)sqrt2x)#else	/* defined(vax)||defined(tahoe) */static doubleln2hi  =  6.9314718036912381649E-1    , /*Hex  2^ -1   *  1.62E42FEE00000 */ln2lo  =  1.9082149292705877000E-10   , /*Hex  2^-33   *  1.A39EF35793C76 */invln2 =  1.4426950408889633870E0     , /*Hex  2^  0   *  1.71547652B82FE */sqrt2  =  1.4142135623730951455E0     ; /*Hex  2^  0   *  1.6A09E667F3BCD */#endif	/* defined(vax)||defined(tahoe) */static double zero=0.0, half=1.0/2.0, one=1.0, two=2.0, negone= -1.0;/********************************************************************************* pow - compute the value of a number raised to a specified power (ANSI)** This routine returns <x> to the power of <y> in* double precision (IEEE double, 53 bits).** A domain error occurs if <x> is negative and <y> is not an integral value.* A domain error occurs if the result cannot be represented when <x> is zero* and <y> is less than or equal to zero.  A range error may occur.** INTERNAL:* Method:* (1) Compute and return log(x) in three pieces:**         log(x) = n*ln2 + hi + lo**     where <n> is an integer.** (2) Perform y*log(x) by simulating multi-precision arithmetic and*     return the answer in three pieces:**         y*log(x) = m*ln2 + hi + lo**     where <m> is an integer.** (3) Return:**         x**y = exp(y*log(x)) = 2^m * ( exp(hi+lo) )** INCLUDE FILES: math.h** RETURNS: The double-precision value of <x> to the power of <y>.** Special cases:* .TS* tab(|);* l0 c0 l.*     (anything) ** 0                       | is | 1*     (anything) ** 1                       | is | itself*     (anything) ** NaN                     | is | NaN*     NaN ** (anything except 0)            | is | NaN*     +-(anything > 1) ** +INF              | is | +INF*     +-(anything > 1) ** -INF              | is | +0*     +-(anything < 1) ** +INF              | is | +0*     +-(anything < 1) ** -INF              | is | +INF*     +-1 ** +-INF                          | is | NaN, signal INVALID*     +0 ** +(anything non-0, NaN)          | is | +0*     -0 ** +(anything non-0, NaN, odd int) | is | +0*     +0 ** -(anything non-0, NaN)          | is | +INF, signal DIV-BY-ZERO*     -0 ** -(anything non-0, NaN, odd int) | is | +INF with signal*     -0 ** (odd integer)                   | =  | -(+0 ** (odd integer))*     +INF ** +(anything except 0, NaN)     | is | +INF*     +INF ** -(anything except 0, NaN)     | is | +0*     -INF ** (odd integer)                 | =  | -(+INF ** (odd integer))*     -INF ** (even integer)                | =  | (+INF ** (even integer))*     -INF ** -(any non-integer, NaN)       | is | NaN with signal*     -(x=anything) ** (k=integer)          | is | (-1)**k * (x ** k)*     -(anything except 0) ** (non-integer) | is | NaN with signal* .TE** SEE ALSO: mathALib** INTERNAL:* Coded in C by K.C. Ng, 1/8/85;* Revised by K.C. Ng on 7/10/85.*/double pow    (    double x,	/* operand  */    double y	/* exponent */    )    {	double drem(),pow_p(),copysign(),t;	int finite();	if     (y==zero)      return(one);	else if(y==one#if !defined(vax)&&!defined(tahoe)		||x!=x#endif	/* !defined(vax)&&!defined(tahoe) */		) return( x );      /* if x is NaN or y=1 */#if !defined(vax)&&!defined(tahoe)	else if(y!=y)         return( y );      /* if y is NaN */#endif	/* !defined(vax)&&!defined(tahoe) */	else if(!finite(y))                     /* if y is INF */	     if((t=copysign(x,one))==one) return(zero/zero);	     else if(t>one) return((y>zero)?y:zero);	     else return((y<zero)?-y:zero);	else if(y==two)       return(x*x);	else if(y==negone)    return(one/x);    /* sign(x) = 1 */	else if(copysign(one,x)==one) return(pow_p(x,y));    /* sign(x)= -1 */	/* if y is an even integer */	else if ( (t=drem(y,two)) == zero)	return( pow_p(-x,y) );	/* if y is an odd integer */	else if (copysign(t,one) == one) return( -pow_p(-x,y) );	/* Henceforth y is not an integer */	else if(x==zero)	/* x is -0 */	    return((y>zero)?-x:one/(-x));	else {			/* return NaN */#if defined(vax)||defined(tahoe)	    return (infnan(EDOM));	/* NaN */#else	/* defined(vax)||defined(tahoe) */	    return(zero/zero);#endif	/* defined(vax)||defined(tahoe) */	}    }/****************************************************************************** pow_p -** pow_p(x,y) return x**y for x with sign=1 and finite y *** RETURN:* NOMANUAL*/double pow_p(x,y)double x,y;{        double logb(),scalb(),copysign(),log__L(),exp__E();        double c,s,t,z,tx,ty;#ifdef tahoe	double tahoe_tmp;#endif	/* tahoe */        float sx,sy;	long k=0;        int n,m;	if(x==zero||!finite(x)) {           /* if x is +INF or +0 */#if defined(vax)||defined(tahoe)	     return((y>zero)?x:infnan(ERANGE));	/* if y<zero, return +INF */#else	/* defined(vax)||defined(tahoe) */	     return((y>zero)?x:one/x);#endif	/* defined(vax)||defined(tahoe) */	}	if(x==1.0) return(x);	/* if x=1.0, return 1 since y is finite */    /* reduce x to z in [sqrt(1/2)-1, sqrt(2)-1] */        z=scalb(x,-(n=logb(x)));#if !defined(vax)&&!defined(tahoe)	/* IEEE double; subnormal number */        if(n <= -1022) {n += (m=logb(z)); z=scalb(z,-m);}#endif	/* !defined(vax)&&!defined(tahoe) */        if(z >= sqrt2 ) {n += 1; z *= half;}  z -= one ;    /* log(x) = nlog2+log(1+z) ~ nlog2 + t + tx */	s=z/(two+z); c=z*z*half; tx=s*(c+log__L(s*s));	t= z-(c-tx); tx += (z-t)-c;   /* if y*log(x) is neither too big nor too small */	if((s=logb(y)+logb(n+t)) < 12.0)	    if(s>-60.0) {	/* compute y*log(x) ~ mlog2 + t + c */        	s=y*(n+invln2*t);                m=s+copysign(half,s);   /* m := nint(y*log(x)) */		k=y;		if((double)k==y) {	/* if y is an integer */		    k = m-k*n;		    sx=t; tx+=(t-sx); }		else	{		/* if y is not an integer */		    k =m;	 	    tx+=n*ln2lo;		    sx=(c=n*ln2hi)+t; tx+=(c-sx)+t; }	   /* end of checking whether k==y */                sy=y; ty=y-sy;          /* y ~ sy + ty */#ifdef tahoe		s = (tahoe_tmp = sx)*sy-k*ln2hi;#else	/* tahoe */		s=(double)sx*sy-k*ln2hi;        /* (sy+ty)*(sx+tx)-kln2 */#endif	/* tahoe */		z=(tx*ty-k*ln2lo);		tx=tx*sy; ty=sx*ty;		t=ty+z; t+=tx; t+=s;		c= -((((t-s)-tx)-ty)-z);	    /* return exp(y*log(x)) */		t += exp__E(t,c); return(scalb(one+t,m));	     }	/* end of if log(y*log(x)) > -60.0 */	    else		/* exp(+- tiny) = 1 with inexact flag */			{ln2hi+ln2lo; return(one);}	    else if(copysign(one,y)*(n+invln2*t) <zero)		/* exp(-(big#)) underflows to zero */	        	return(scalb(one,-5000));	    else	        /* exp(+(big#)) overflows to INF */	    		return(scalb(one, 5000));}/* sincos.c - math routines *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01f,05feb93,jdi  doc changes based on kdl review.01e,02dec92,jdi  doc tweaks.01d,28oct92,jdi  documentation cleanup.01c,21sep92,smb  changed function headers for mg.01b,20sep92,smb  documentation additions01a,08jul92,smb  documentation.*//*DESCRIPTION* Copyright (c) 1987 Regents of the University of California.* All rights reserved.** Redistribution and use in source and binary forms are permitted* provided that the above copyright notice and this paragraph are* duplicated in all such forms and that any documentation,* advertising materials, and other materials related to such* distribution and use acknowledge that the software was developed* by the University of California, Berkeley.  The name of the* University may not be used to endorse or promote products derived* from this software without specific prior written permission.* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.** All recipients should regard themselves as participants in an ongoing* research project and hence should feel obligated to report their* experiences (good or bad) with these elementary function codes, using* the sendbug(8) program, to the authors.*SEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "math.h"#include "private/trigP.h"/********************************************************************************* sin - compute a sine (ANSI)** This routine computes the sine of <x> in double precision.* The angle <x> is expressed in radians.** INCLUDE FILES: math.h** RETURNS: The double-precision sine of <x>.** SEE ALSO: mathALib*/double sin    (    double x	/* angle in radians */    )    {	double a,c,z;        if(!finite(x))		/* sin(NaN) and sin(INF) must be NaN */		return x-x;	x=drem(x,PI2);		/* reduce x into [-PI,PI] */	a=copysign(x,one);	if (a >= PIo4) {		if(a >= PI3o4)		/* ... in [3PI/4,PI] */			x = copysign((a = PI-a),x);		else {			/* ... in [PI/4,3PI/4]  */			a = PIo2-a;		/* rtn. sign(x)*C(PI/2-|x|) */			z = a*a;			c = cos__C(z);			z *= half;			a = (z >= thresh ? half-((z-half)-c) : one-(z-c));			return copysign(a,x);		}	}	if (a < small) {		/* rtn. S(x) */		big+a;		return x;	}	return x+x*sin__S(x*x);    }/********************************************************************************* cos - compute a cosine (ANSI)** This routine computes the cosine of <x> in double precision.* The angle <x> is expressed in radians.** INCLUDE FILES: math.h** RETURNS: The double-precision cosine of <x>.** SEE ALSO: mathALib*/double cos    (    double x	/* angle in radians */    )    {	double a,c,z,s = 1.0;	if(!finite(x))		/* cos(NaN) and cos(INF) must be NaN */		return x-x;	x=drem(x,PI2);		/* reduce x into [-PI,PI] */	a=copysign(x,one);	if (a >= PIo4) {		if (a >= PI3o4) {	/* ... in [3PI/4,PI] */			a = PI-a;			s = negone;		}		else {			/* ... in [PI/4,3PI/4] */			a = PIo2-a;			return a+a*sin__S(a*a);	/* rtn. S(PI/2-|x|) */		}	}	if (a < small) {		big+a;		return s;		/* rtn. s*C(a) */	}	z = a*a;	c = cos__C(z);	z *= half;	a = (z >= thresh ? half-((z-half)-c) : one-(z-c));	return copysign(a,s);    }/* sinh.c - math routine *//* Copyright 1992-1994 Wind River 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲色大大久久| 免费不卡在线视频| 日韩不卡手机在线v区| 日韩一区精品字幕| 国产精品一区一区三区| 99久久久久久99| 欧美精品久久一区| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美激情中文字幕一区二区| 亚洲精品国产成人久久av盗摄 | av在线一区二区| 在线观看视频一区二区欧美日韩| 91麻豆精品国产91久久久| 337p日本欧洲亚洲大胆精品| 亚洲欧美另类在线| 久久精品国产精品青草| 不卡一区二区中文字幕| 欧美日韩大陆一区二区| 久久久久久久久久电影| 又紧又大又爽精品一区二区| 午夜av区久久| av电影在线观看完整版一区二区| 欧美久久久一区| 日本一区二区电影| 免费成人av在线播放| 97se亚洲国产综合在线| 日韩一卡二卡三卡| 亚洲免费观看在线观看| 捆绑调教一区二区三区| 色婷婷av一区二区三区大白胸| 精品区一区二区| 伊人一区二区三区| 国产一区二区三区日韩| 欧美综合一区二区三区| 国产亚洲短视频| 三级成人在线视频| 色综合久久久久综合体| 26uuu精品一区二区三区四区在线| 伊人性伊人情综合网| 国产精品一二三| 欧美一区二区三区四区久久| 国产精品国产三级国产| 极品少妇xxxx精品少妇偷拍| 欧美色中文字幕| 亚洲欧洲成人av每日更新| 精品在线免费观看| 欧美肥大bbwbbw高潮| 日韩一区在线播放| 国产aⅴ精品一区二区三区色成熟| 欧美一级艳片视频免费观看| 亚洲摸摸操操av| 丁香一区二区三区| 久久久久久综合| 老司机午夜精品| 国产精品毛片大码女人| 精品一区二区三区的国产在线播放| 欧美图片一区二区三区| 中文字幕中文在线不卡住| 国产一区二区调教| 欧美大片国产精品| 三级欧美韩日大片在线看| 在线一区二区三区四区五区| 中文字幕在线观看不卡| 国产不卡视频在线播放| 精品av综合导航| 久久精品av麻豆的观看方式| 91精选在线观看| 日韩激情视频在线观看| 欧美视频在线观看一区二区| 亚洲天堂a在线| 91免费视频网| 自拍偷拍亚洲欧美日韩| 成人高清免费在线播放| 国产精品天天看| 成人黄动漫网站免费app| 国产日韩亚洲欧美综合| 国产乱理伦片在线观看夜一区| 精品国产乱码久久久久久闺蜜| 蜜臀久久久99精品久久久久久| 91麻豆精品国产自产在线观看一区 | 午夜激情综合网| 精品视频在线视频| 亚洲国产毛片aaaaa无费看| 色婷婷激情久久| 性感美女久久精品| 欧美日韩高清一区二区三区| 天天操天天干天天综合网| 欧美一区二区三区免费视频| 久久电影网站中文字幕| 久久综合资源网| 风间由美一区二区三区在线观看| 欧美激情在线一区二区| a4yy欧美一区二区三区| 亚洲精品日韩综合观看成人91| 一本久久精品一区二区| 亚洲午夜久久久久久久久久久| 欧美猛男男办公室激情| 免费久久99精品国产| 亚洲精品一区二区三区精华液| 成人性生交大片免费看视频在线| 亚洲欧美经典视频| 欧美年轻男男videosbes| 另类欧美日韩国产在线| 国产亚洲成aⅴ人片在线观看| 成人爽a毛片一区二区免费| 亚洲欧美日韩国产综合| 欧美日韩成人在线一区| 精品无人码麻豆乱码1区2区| 亚洲国产成人自拍| 欧美制服丝袜第一页| 免费在线观看一区二区三区| 久久综合99re88久久爱| 99久久婷婷国产精品综合| 亚洲成av人片一区二区| 精品国产制服丝袜高跟| 不卡的看片网站| 日本在线不卡一区| 国产精品三级av在线播放| 色av成人天堂桃色av| 久久福利资源站| 亚洲乱码国产乱码精品精98午夜 | 肉丝袜脚交视频一区二区| 久久综合九色综合欧美98| 99精品久久只有精品| 丝袜诱惑亚洲看片| 国产欧美日本一区视频| 欧美亚洲禁片免费| 国产一区二区精品久久| 亚洲色图欧洲色图| 日韩三级电影网址| 色综合久久66| 国产精品538一区二区在线| 亚洲激情中文1区| 国产欧美精品一区二区色综合朱莉| 欧美日韩午夜在线视频| 成人免费高清在线| 精品中文av资源站在线观看| 亚洲品质自拍视频| 久久一留热品黄| 欧美日韩一区二区不卡| 国产成人久久精品77777最新版本| 亚洲成人你懂的| 中文乱码免费一区二区| 欧美日韩色综合| 91视频国产观看| 国产在线不卡一卡二卡三卡四卡| 亚洲高清免费一级二级三级| 国产精品―色哟哟| 久久嫩草精品久久久精品一| 欧美性猛片xxxx免费看久爱| 国产91精品入口| 久久精品国产免费看久久精品| 伊人婷婷欧美激情| 国产精品午夜在线观看| 88在线观看91蜜桃国自产| 一本色道综合亚洲| 风流少妇一区二区| 日韩激情av在线| 国产网站一区二区| 欧美高清视频在线高清观看mv色露露十八| 国产电影一区二区三区| 午夜精品福利在线| 亚洲sss视频在线视频| 国产精品久久久久久妇女6080| 欧美一级黄色录像| 欧美伊人久久大香线蕉综合69 | 99视频热这里只有精品免费| 丝袜美腿高跟呻吟高潮一区| 久久综合久久综合久久综合| 欧美一区二区三区视频在线 | 国产亚洲欧美日韩俺去了| 4438亚洲最大| 欧美日韩在线直播| 色国产综合视频| www.综合网.com| 成人午夜私人影院| 国产精品69毛片高清亚洲| 日本午夜精品一区二区三区电影| 亚洲欧美成人一区二区三区| 中文字幕亚洲精品在线观看| 久久先锋影音av| 精品国产一区二区三区久久影院| 欧美日韩色综合| 91精品国产麻豆国产自产在线| 在线观看国产91| 色婷婷狠狠综合| 国产在线精品不卡| 国产 日韩 欧美大片| 国产在线精品免费| 国内精品伊人久久久久av影院| 日韩av网站免费在线| 亚洲小说春色综合另类电影| 亚洲色图在线播放| 亚洲乱码国产乱码精品精小说| 亚洲欧美日韩中文播放| 亚洲综合av网| 亚洲第一在线综合网站| 亚洲一区视频在线观看视频| 亚洲成人免费观看| 日本欧美一区二区三区乱码|