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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? expm1.c

?? vxworks的源代碼
?? C
字號:
/* expm1.c - math routines *//* Copyright 1992 Wind River Systems, Inc. *//*modification history--------------------01c,20sep92,smb  documentation additions.01b,30jul92,kdl  marked routine NOMANUAL.01a,08jul92,smb  documentation.*//*DESCRIPTION** This file includes a support routine (expm1()) which is used by* other portions of the UCB ANSI C library.** 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-1989** NOMANUAL*/#include "vxWorks.h"#include "math.h"#if defined(vax)||defined(tahoe)	/* VAX D format */#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 *//* lnhuge =  9.4961163736712506989E1     , Hex  2^  7   *  .BDEC1DA73E9010 *//* invln2 =  1.4426950408889634148E0     ; Hex  2^  1   *  .B8AA3B295C17F1 */static long     ln2hix[] = { _0x(7217,4031), _0x(0000,f7d0)};static long     ln2lox[] = { _0x(bcd5,2ce7), _0x(d9cc,e4f1)};static long    lnhugex[] = { _0x(ec1d,43bd), _0x(9010,a73e)};static long    invln2x[] = { _0x(aa3b,40b8), _0x(17f1,295c)};#define    ln2hi    (*(double*)ln2hix)#define    ln2lo    (*(double*)ln2lox)#define   lnhuge    (*(double*)lnhugex)#define   invln2    (*(double*)invln2x)#else	/* defined(vax)||defined(tahoe) */static doubleln2hi  =  6.9314718036912381649E-1    , /*Hex  2^ -1   *  1.62E42FEE00000 */ln2lo  =  1.9082149292705877000E-10   , /*Hex  2^-33   *  1.A39EF35793C76 */lnhuge =  7.1602103751842355450E2     , /*Hex  2^  9   *  1.6602B15B7ECF2 */invln2 =  1.4426950408889633870E0     ; /*Hex  2^  0   *  1.71547652B82FE */#endif	/* defined(vax)||defined(tahoe) *//****************************************************************************** expm1 -** EXPM1(X)* RETURN THE EXPONENTIAL OF X MINUS ONE* DOUBLE PRECISION (IEEE 53 BITS, VAX D FORMAT 56 BITS)* CODED IN C BY K.C. NG, 1/19/85;* REVISED BY K.C. NG on 2/6/85, 3/7/85, 3/21/85, 4/16/85.** Required system supported functions:*	scalb(x,n)*	copysign(x,y)*	finite(x)** Kernel function:*	exp__E(x,c)** Method:*	1. Argument Reduction: given the input x, find r and integer k such*	   that*	                   x = k*ln2 + r,  |r| <= 0.5*ln2 .*	   r will be represented as r := z+c for better accuracy.**	2. Compute EXPM1(r)=exp(r)-1 by**			EXPM1(r=z+c) := z + exp__E(z,c)**	3. EXPM1(x) =  2^k * ( EXPM1(r) + 1-2^-k ).** 	Remarks:*	   1. When k=1 and z < -0.25, we use the following formula for*	      better accuracy:*			EXPM1(x) = 2 * ( (z+0.5) + exp__E(z,c) )*	   2. To avoid rounding error in 1-2^-k where k is large, we use*			EXPM1(x) = 2^k * { [z+(exp__E(z,c)-2^-k )] + 1 }*	      when k>56.** Special cases:*	EXPM1(INF) is INF, EXPM1(NaN) is NaN;*	EXPM1(-INF)= -1;*	for finite argument, only EXPM1(0)=0 is exact.** Accuracy:*	EXPM1(x) returns the exact (exp(x)-1) nearly rounded. In a test run with*	1,166,000 random arguments on a VAX, the maximum observed error was*	.872 ulps (units of the last place).** Constants:* The hexadecimal values are the intended ones for the following constants.* The decimal values may be used, provided that the compiler will convert* from decimal to binary accurately enough to produce the hexadecimal values* shown.** NOMANUAL*/double expm1(x)double x;{	static double one=1.0, half=1.0/2.0;	double scalb(), copysign(), exp__E(), z,hi,lo,c;	int k,finite();#if defined(vax)||defined(tahoe)	static prec=56;#else	/* defined(vax)||defined(tahoe) */	static prec=53;#endif	/* defined(vax)||defined(tahoe) */#if !defined(vax)&&!defined(tahoe)	if(x!=x) return(x);	/* x is NaN */#endif	/* !defined(vax)&&!defined(tahoe) */	if( x <= lnhuge ) {		if( x >= -40.0 ) {		    /* argument reduction : x - k*ln2 */			k= invln2 *x+copysign(0.5,x);	/* k=NINT(x/ln2) */			hi=x-k*ln2hi ;			z=hi-(lo=k*ln2lo);			c=(hi-z)-lo;			if(k==0) return(z+exp__E(z,c));			if(k==1)			    if(z< -0.25)				{x=z+half;x +=exp__E(z,c); return(x+x);}			    else				{z+=exp__E(z,c); x=half+z; return(x+x);}		    /* end of k=1 */			else {			    if(k<=prec)			      { x=one-scalb(one,-k); z += exp__E(z,c);}			    else if(k<100)			      { x = exp__E(z,c)-scalb(one,-k); x+=z; z=one;}			    else			      { x = exp__E(z,c)+z; z=one;}			    return (scalb(x+z,k));			}		}		/* end of x > lnunfl */		else		     /* expm1(-big#) rounded to -1 (inexact) */		     if(finite(x))			 { ln2hi+ln2lo; return(-one);}		     /* expm1(-INF) is -1 */		     else return(-one);	}	/* end of x < lnhuge */	else	/*  expm1(INF) is INF, expm1(+big#) overflows to INF */	    return( finite(x) ?  scalb(one,5000) : x);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩精品a在线观看| av在线免费不卡| 欧美系列日韩一区| 亚洲午夜久久久久久久久电影网| 色天使色偷偷av一区二区| 亚洲黄一区二区三区| 欧美亚洲自拍偷拍| 午夜精品在线视频一区| 欧美日韩一区二区三区视频| 全国精品久久少妇| 久久综合色8888| 99久久国产综合色|国产精品| 亚洲免费在线视频一区 二区| 欧美在线观看视频一区二区| 秋霞国产午夜精品免费视频| 久久久久久综合| 色哟哟欧美精品| 日本三级亚洲精品| 久久久五月婷婷| 色狠狠色噜噜噜综合网| 日韩av一级片| 国产日韩欧美高清在线| 色综合中文字幕国产 | 男人操女人的视频在线观看欧美| 欧美日韩国产欧美日美国产精品| 美女脱光内衣内裤视频久久网站| 国产日韩视频一区二区三区| 日本道色综合久久| 狠狠色丁香久久婷婷综合_中| 中文字幕一区二区三区在线观看 | 久久99热国产| 最新国产の精品合集bt伙计| 3751色影院一区二区三区| 国产a久久麻豆| 日本欧美肥老太交大片| 国产精品久久久久久久久免费桃花| 在线视频一区二区三区| 国产乱国产乱300精品| 亚洲国产视频a| 国产日韩欧美激情| 91精品国产色综合久久不卡电影| 盗摄精品av一区二区三区| 午夜精品成人在线视频| 国产精品国产a| 久久综合九色综合久久久精品综合| 色999日韩国产欧美一区二区| 韩国精品主播一区二区在线观看 | 精品在线观看免费| 亚洲欧美视频在线观看视频| 久久影视一区二区| 91精品国产综合久久久蜜臀图片 | 狠狠色丁香久久婷婷综合_中| 一区二区三区日韩在线观看| 日本一区二区电影| 欧美成人一区二区| 欧美电影在线免费观看| 91麻豆国产福利在线观看| 激情久久五月天| 天堂久久久久va久久久久| 亚洲乱码中文字幕| 欧美国产日产图区| 久久网站最新地址| 日韩精品专区在线| 91.xcao| 欧美性极品少妇| 91久久人澡人人添人人爽欧美| 国产成人综合亚洲91猫咪| 精品伊人久久久久7777人| 日韩在线播放一区二区| 一区二区三区在线观看欧美| 国产精品卡一卡二| 中文字幕中文字幕在线一区| 亚洲国产精品精华液ab| 精品国产99国产精品| 日韩午夜激情av| 日韩一区二区在线观看视频| 欧美一级欧美三级在线观看 | 色综合欧美在线| 色综合久久中文字幕| 91偷拍与自偷拍精品| 99re热这里只有精品视频| 色伊人久久综合中文字幕| 91豆麻精品91久久久久久| 91电影在线观看| 91精品久久久久久蜜臀| 欧美一区二区精品在线| 精品久久99ma| 国产亚洲欧美在线| 中文字幕一区二区三| 中文字幕一区二区日韩精品绯色| 中文字幕一区二区三区不卡在线| 中文字幕一区二区视频| 亚洲另类中文字| 亚洲一二三专区| 日韩国产欧美三级| 精品在线免费视频| 成人性生交大合| 色婷婷香蕉在线一区二区| 欧洲视频一区二区| 欧美大片在线观看| 国产嫩草影院久久久久| 亚洲青青青在线视频| 午夜国产不卡在线观看视频| 麻豆精品一区二区综合av| 高清不卡在线观看| 欧美综合色免费| 精品免费国产二区三区| 国产精品国产三级国产普通话三级 | 色综合天天视频在线观看| 欧美丝袜自拍制服另类| 在线播放/欧美激情| 久久久99精品免费观看不卡| 亚洲乱码国产乱码精品精小说 | 麻豆精品一区二区三区| 国产69精品一区二区亚洲孕妇| 日本韩国欧美三级| 欧美成人一区二区三区在线观看 | 777xxx欧美| 中文字幕精品—区二区四季| 亚洲一区二区三区不卡国产欧美| 蓝色福利精品导航| 91福利社在线观看| 91精品国产综合久久久久久| 国产丝袜在线精品| 日韩高清在线观看| 99久久精品免费看国产| 精品三级av在线| 亚洲人成小说网站色在线| 久久99久久99| 欧美日韩免费电影| 久久精品水蜜桃av综合天堂| 亚瑟在线精品视频| 成人av电影在线| 日韩一区二区三区免费观看| 一区二区在线观看av| 国产尤物一区二区| 欧美福利视频导航| 亚洲激情中文1区| 国产v日产∨综合v精品视频| 日韩一二三四区| 亚洲成av人**亚洲成av**| 97久久精品人人做人人爽| 26uuuu精品一区二区| 日韩中文字幕区一区有砖一区 | 欧美一级夜夜爽| 樱花影视一区二区| k8久久久一区二区三区| 久久综合九色欧美综合狠狠| 三级一区在线视频先锋| 在线观看日韩精品| 亚洲欧美怡红院| 国产成人精品一区二| 亚洲精品在线观看网站| 免费看日韩精品| 欧美一区二区在线视频| 亚洲成人黄色小说| 欧美性淫爽ww久久久久无| 国产精品久久午夜夜伦鲁鲁| 岛国av在线一区| 国产精品三级av| 国产成人99久久亚洲综合精品| 久久久亚洲午夜电影| 久久99国产精品成人| 精品日韩一区二区三区| 久久精品av麻豆的观看方式| 日韩精品最新网址| 久久69国产一区二区蜜臀| 日韩一区二区三区av| 美女免费视频一区二区| 日韩免费视频一区二区| 男男gaygay亚洲| 日韩免费一区二区三区在线播放| 免费人成黄页网站在线一区二区| 91精品在线观看入口| 免费成人av在线| 久久天天做天天爱综合色| 国产精品88888| 中文字幕成人网| 色噜噜久久综合| 亚洲成人精品一区二区| 91精品国产综合久久香蕉麻豆| 日本亚洲欧美天堂免费| 欧美本精品男人aⅴ天堂| 国产成人综合精品三级| 国产精品成人一区二区艾草| 色偷偷久久一区二区三区| 亚洲一区二区视频| 日韩欧美一区中文| 国产精品一品二品| 中文字幕一区二区三中文字幕| 在线观看免费一区| 日本伊人色综合网| 国产色婷婷亚洲99精品小说| 不卡av在线免费观看| 亚洲成人手机在线| 久久久久久久免费视频了| 99riav一区二区三区| 日日骚欧美日韩| 欧美国产国产综合| 在线一区二区三区|