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

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

?? log1p.c

?? vxworks的源代碼
?? C
字號:
/* log1p.c - math routines *//* Copyright 1992 Wind River Systems, Inc. *//*modification history--------------------01b,30jul92,kdl  marked routine NOMANUAL.01a,08jul92,smb  documentation.*//** DESCRIPTION** This file includes a support routine (log1p()) 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.** #ifndef lint* static char sccsid[] = "@(#)log1p.c	5.3 (Berkeley) 6/30/88";* #endif	* not lint ** * SEE ALSO: American National Standard X3.159-1989* * NOMANUAL* */#include "vxWorks.h"#include "math.h"#if defined(vax)||defined(tahoe)	/* VAX D format */#include <errno.h>#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 *//* 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     sqrt2x[] = { _0x(04f3,40b5), _0x(de65,33f9)};#define    ln2hi    (*(double*)ln2hix)#define    ln2lo    (*(double*)ln2lox)#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 */sqrt2  =  1.4142135623730951455E0     ; /*Hex  2^  0   *  1.6A09E667F3BCD */#endif	/* defined(vax)||defined(tahoe) *//*************************************************************************** log1p	-** LOG1P(x)* RETURN THE LOGARITHM OF 1+x* DOUBLE PRECISION (VAX D FORMAT 56 bits, IEEE DOUBLE 53 BITS)* CODED IN C BY K.C. NG, 1/19/85;* REVISED BY K.C. NG on 2/6/85, 3/7/85, 3/24/85, 4/16/85.** Required system supported functions:*	scalb(x,n)*	copysign(x,y)*	logb(x)*	finite(x)** Required kernel function:*	log__L(z)** Method :*	1. Argument Reduction: find k and f such that*			1+x  = 2^k * (1+f),*	   where  sqrt(2)/2 < 1+f < sqrt(2) .**	2. Let s = f/(2+f) ; based on log(1+f) = log(1+s) - log(1-s)*		 = 2s + 2/3 s**3 + 2/5 s**5 + .....,*	   log(1+f) is computed by**	     		log(1+f) = 2s + s*log__L(s*s)*	   where*		log__L(z) = z*(L1 + z*(L2 + z*(... (L6 + z*L7)...)))**	   See log__L() for the values of the coefficients.**	3. Finally,  log(1+x) = k*ln2 + log(1+f).**	Remarks 1. In step 3 n*ln2 will be stored in two floating point numbers*		   n*ln2hi + n*ln2lo, where ln2hi is chosen such that the last*		   20 bits (for VAX D format), or the last 21 bits ( for IEEE*		   double) is 0. This ensures n*ln2hi is exactly representable.*		2. In step 1, f may not be representable. A correction term c*	 	   for f is computed. It follows that the correction term for*		   f - t (the leading term of log(1+f) in step 2) is c-c*x. We*		   add this correction term to n*ln2lo to attenuate the error.*** Special cases:*	log1p(x) is NaN with signal if x < -1; log1p(NaN) is NaN with no signal;*	log1p(INF) is +INF; log1p(-1) is -INF with signal;*	only log1p(0)=0 is exact for finite argument.** Accuracy:*	log1p(x) returns the exact log(1+x) nearly rounded. In a test run*	with 1,536,000 random arguments on a VAX, the maximum observed*	error was .846 ulps (units in 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 log1p(x)double x;{	static double zero=0.0, negone= -1.0, one=1.0,		      half=1.0/2.0, small=1.0E-20;   /* 1+small == 1 */	double logb(),copysign(),scalb(),log__L(),z,s,t,c;	int k,finite();#if !defined(vax)&&!defined(tahoe)	if(x!=x) return(x);	/* x is NaN */#endif	/* !defined(vax)&&!defined(tahoe) */	if(finite(x)) {	   if( x > negone ) {	   /* argument reduction */	      if(copysign(x,one)<small) return(x);	      k=logb(one+x); z=scalb(x,-k); t=scalb(one,-k);	      if(z+t >= sqrt2 )		  { k += 1 ; z *= half; t *= half; }	      t += negone; x = z + t;	      c = (t-x)+z ;		/* correction term for x */ 	   /* compute log(1+x)  */              s = x/(2+x); t = x*x*half;	      c += (k*ln2lo-c*x);	      z = c+s*(t+log__L(s*s));	      x += (z - t) ;	      return(k*ln2hi+x);	   }	/* end of if (x > negone) */	    else {#if defined(vax)||defined(tahoe)		extern double infnan();		if ( x == negone )		    return (infnan(-ERANGE));	/* -INF */		else		    return (infnan(EDOM));	/* NaN */#else	/* defined(vax)||defined(tahoe) */		/* x = -1, return -INF with signal */		if ( x == negone ) return( negone/zero );		/* negative argument for log, return NaN with signal */	        else return ( zero / zero );#endif	/* defined(vax)||defined(tahoe) */	    }	}    /* end of if (finite(x)) */    /* log(-INF) is NaN */	else if(x<0)	     return(zero/zero);    /* log(+INF) is INF */	else return(x);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久久久久免费相片 | 国产精品嫩草影院av蜜臀| 69久久夜色精品国产69蝌蚪网| 99久久精品国产麻豆演员表| 国产91精品久久久久久久网曝门| 国内精品伊人久久久久av影院| 免费在线观看一区二区三区| 另类小说综合欧美亚洲| 蜜桃视频一区二区三区在线观看| 美女国产一区二区| 国内欧美视频一区二区| 国产经典欧美精品| 成a人片亚洲日本久久| a4yy欧美一区二区三区| 色美美综合视频| 欧美日精品一区视频| 欧美日韩一区成人| 91精品国产高清一区二区三区蜜臀| 欧美一卡二卡在线| 久久午夜羞羞影院免费观看| 国产欧美精品一区aⅴ影院| 中文字幕乱码亚洲精品一区| 中文字幕在线观看一区| 亚洲国产综合视频在线观看| 亚洲国产欧美在线人成| 蜜臀av性久久久久av蜜臀妖精| 久久国产综合精品| 国产69精品久久久久777| 91美女精品福利| 欧美日韩国产免费一区二区| 久久人人爽人人爽| 一区视频在线播放| 爽好多水快深点欧美视频| 精品午夜久久福利影院| 成人av网站免费观看| 欧美日韩在线直播| 久久综合精品国产一区二区三区| 国产午夜一区二区三区| 亚洲自拍偷拍网站| 久久成人av少妇免费| 成人一区二区三区| 欧美日韩成人一区| 久久品道一品道久久精品| 一区二区三区欧美| 黄色日韩网站视频| 99久久精品免费| 欧美电影精品一区二区 | 国产在线播放一区二区三区| 99国产精品久| 欧美成人综合网站| 亚洲男同性视频| 国内精品免费**视频| 91麻豆蜜桃一区二区三区| 欧美一二三在线| 亚洲欧美视频在线观看| 久久国内精品视频| 精品婷婷伊人一区三区三| 久久精品视频免费| 天堂精品中文字幕在线| 国产成人av电影在线观看| 欧美另类高清zo欧美| 国产精品区一区二区三区| 美日韩黄色大片| 欧洲一区二区三区在线| 久久久精品欧美丰满| 天堂一区二区在线免费观看| 91在线云播放| 中文字幕欧美三区| 麻豆国产欧美一区二区三区| 在线视频你懂得一区二区三区| 久久影院电视剧免费观看| 午夜精品一区在线观看| 99re成人精品视频| 国产亚洲精品免费| 久久99精品国产.久久久久久 | 日本一区二区三区免费乱视频| 爽爽淫人综合网网站| 91黄色小视频| 综合中文字幕亚洲| 丰满放荡岳乱妇91ww| 日韩精品一区二区三区视频播放 | 久久一二三国产| 日韩有码一区二区三区| 日本高清无吗v一区| 国产精品系列在线| 国产精品1区二区.| 欧美大片在线观看| 日本中文字幕一区二区有限公司| 91视视频在线观看入口直接观看www | 欧美日韩一级二级三级| 亚洲乱码中文字幕| 成人黄色软件下载| 国产精品激情偷乱一区二区∴| 国产乱码精品一区二区三区av| 日韩午夜精品电影| 日产欧产美韩系列久久99| 欧美一区二区三区视频在线| 日韩精品视频网站| 欧美日韩不卡一区| 天堂成人国产精品一区| 欧美日韩黄色一区二区| 午夜精品久久久久影视| 欧美日韩中文字幕一区二区| 性做久久久久久久免费看| 欧洲另类一二三四区| 亚洲午夜成aⅴ人片| 欧美日韩在线一区二区| 日韩中文字幕麻豆| 91精品国产aⅴ一区二区| 免费成人小视频| 精品少妇一区二区三区免费观看 | 亚洲男人天堂一区| 在线一区二区三区| 亚洲主播在线观看| 欧美日精品一区视频| 日韩不卡免费视频| 精品三级av在线| 国产不卡视频在线观看| 国产精品久久久久7777按摩| 99精品国产91久久久久久| 亚洲综合一二区| 91精品国产欧美一区二区| 久久精品国产精品青草| 久久精品亚洲一区二区三区浴池| 成人一区二区在线观看| 一区二区三区日韩欧美精品| 88在线观看91蜜桃国自产| 麻豆91精品91久久久的内涵| 国产欧美日韩视频一区二区| 91性感美女视频| 天天色综合天天| 欧美精品一区二区三区视频| 粉嫩蜜臀av国产精品网站| 一区av在线播放| 日韩欧美国产wwwww| 风间由美一区二区三区在线观看 | 亚洲国产一区在线观看| 欧美成人伊人久久综合网| 国产精品白丝jk黑袜喷水| 亚洲精品乱码久久久久久黑人 | 2021国产精品久久精品| 成人黄页毛片网站| 亚洲一区二区三区四区五区中文| 欧美电影在线免费观看| 国产盗摄女厕一区二区三区| 亚洲另类春色国产| 精品久久一区二区| 99久久久无码国产精品| 日本在线播放一区二区三区| 国产日产欧美一区| 欧美三级韩国三级日本一级| 国产精品一线二线三线精华| 一区二区视频在线看| 欧美一级欧美三级在线观看| 99热99精品| 美女精品一区二区| 亚洲免费电影在线| 日韩欧美国产一区在线观看| kk眼镜猥琐国模调教系列一区二区| 天天影视涩香欲综合网| 中文字幕日韩av资源站| 欧美一区二区视频网站| 一本大道久久精品懂色aⅴ| 久久精品国产色蜜蜜麻豆| 专区另类欧美日韩| 日韩免费视频一区二区| 色婷婷综合久久久中文字幕| 国产在线视频精品一区| 亚洲高清中文字幕| 专区另类欧美日韩| 久久免费美女视频| 91精品国产综合久久香蕉麻豆| aaa亚洲精品| 国产精品一卡二卡| 免费看黄色91| 亚洲小少妇裸体bbw| 1000精品久久久久久久久| 亚洲精品一区二区三区四区高清| 在线观看91视频| 91麻豆产精品久久久久久| 国产高清视频一区| 日本美女视频一区二区| 亚洲成av人片| 一区二区日韩电影| 亚洲欧美自拍偷拍色图| 久久精品亚洲麻豆av一区二区| 欧美大片顶级少妇| 欧美一卡二卡三卡| 制服丝袜亚洲精品中文字幕| 91极品视觉盛宴| 一本久久a久久精品亚洲 | 久久五月婷婷丁香社区| 91精品国产综合久久久久| 在线精品亚洲一区二区不卡| 国产白丝精品91爽爽久久| 亚洲国产wwwccc36天堂| 亚洲男人天堂av网| 亚洲私人黄色宅男| 国产精品高潮久久久久无| 欧美激情综合网|