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

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

?? poly_tan.c

?? freebsd v4.4內核源碼
?? C
字號:
/* *  poly_tan.c * * Compute the tan of a FPU_REG, using a polynomial approximation. * * * Copyright (C) 1992,1993,1994 *                       W. Metzenthen, 22 Parker St, Ormond, Vic 3163, *                       Australia.  E-mail   billm@vaxc.cc.monash.edu.au * All rights reserved. * * This copyright notice covers the redistribution and use of the * FPU emulator developed by W. Metzenthen. It covers only its use * in the 386BSD, FreeBSD and NetBSD operating systems. Any other * use is not permitted under this copyright. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must include information specifying *    that source code for the emulator is freely available and include *    either: *      a) an offer to provide the source code for a nominal distribution *         fee, or *      b) list at least two alternative methods whereby the source *         can be obtained, e.g. a publically accessible bulletin board *         and an anonymous ftp site from which the software can be *         downloaded. * 3. All advertising materials specifically mentioning features or use of *    this emulator must acknowledge that it was developed by W. Metzenthen. * 4. The name of W. Metzenthen 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 ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL * W. METZENTHEN BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * * The purpose of this copyright, based upon the Berkeley copyright, is to * ensure that the covered software remains freely available to everyone. * * The software (with necessary differences) is also available, but under * the terms of the GNU copyleft, for the Linux operating system and for * the djgpp ms-dos extender. * * W. Metzenthen   June 1994. * * * $FreeBSD: src/sys/gnu/i386/fpemul/poly_tan.c,v 1.6.2.1 1999/09/05 08:09:48 peter Exp $ * */#include <gnu/i386/fpemul/exception.h>#include <gnu/i386/fpemul/reg_constant.h>#include <gnu/i386/fpemul/fpu_emu.h>#include <gnu/i386/fpemul/control_w.h>#define	HIPOWERop	3	/* odd poly, positive terms */static unsigned short oddplterms[HIPOWERop][4] ={	{0x846a, 0x42d1, 0xb544, 0x921f},	{0x6fb2, 0x0215, 0x95c0, 0x099c},	{0xfce6, 0x0cc8, 0x1c9a, 0x0000}};#define	HIPOWERon	2	/* odd poly, negative terms */static unsigned short oddnegterms[HIPOWERon][4] ={	{0x6906, 0xe205, 0x25c8, 0x8838},	{0x1dd7, 0x3fe3, 0x944e, 0x002c}};#define	HIPOWERep	2	/* even poly, positive terms */static unsigned short evenplterms[HIPOWERep][4] ={	{0xdb8f, 0x3761, 0x1432, 0x2acf},	{0x16eb, 0x13c1, 0x3099, 0x0003}};#define	HIPOWERen	2	/* even poly, negative terms */static unsigned short evennegterms[HIPOWERen][4] ={	{0x3a7c, 0xe4c5, 0x7f87, 0x2945},	{0x572b, 0x664c, 0xc543, 0x018c}};/*--- poly_tan() ------------------------------------------------------------+ |                                                                           | +---------------------------------------------------------------------------*/voidpoly_tan(FPU_REG * arg, FPU_REG * y_reg){	char    invert = 0;	short   exponent;	FPU_REG odd_poly, even_poly, pos_poly, neg_poly;	FPU_REG argSq;	long long arg_signif, argSqSq;	exponent = arg->exp - EXP_BIAS;	if (arg->tag == TW_Zero) {		/* Return 0.0 */		reg_move(&CONST_Z, y_reg);		return;	}	if (exponent >= -1) {		/* argument is in the range  [0.5 .. 1.0] */		if (exponent >= 0) {#ifdef PARANOID			if ((exponent == 0) &&			    (arg->sigl == 0) && (arg->sigh == 0x80000000))#endif				/* PARANOID */			{				arith_overflow(y_reg);				return;			}#ifdef PARANOID			EXCEPTION(EX_INTERNAL | 0x104);	/* There must be a logic							 * error */			return;#endif				/* PARANOID */		}		/* The argument is in the range  [0.5 .. 1.0) */		/* Convert the argument to a number in the range  (0.0 .. 0.5] */		*((long long *) (&arg->sigl)) = -*((long long *) (&arg->sigl));		normalize(arg);	/* Needed later */		exponent = arg->exp - EXP_BIAS;		invert = 1;	}#ifdef PARANOID	if (arg->sign != 0) {	/* Can't hack a number < 0.0 */		arith_invalid(y_reg);		return;	}			/* Need a positive number */#endif				/* PARANOID */	*(long long *) &arg_signif = *(long long *) &(arg->sigl);	if (exponent < -1) {		/* shift the argument right by the required places */		if (shrx(&arg_signif, -1 - exponent) >= (unsigned)0x80000000)			arg_signif++;	/* round up */	}	mul64(&arg_signif, &arg_signif, (long long *) (&argSq.sigl));	mul64((long long *) (&argSq.sigl), (long long *) (&argSq.sigl), &argSqSq);	/* will be a valid positive nr with expon = 0 */	*(short *) &(pos_poly.sign) = 0;	pos_poly.exp = EXP_BIAS;	/* Do the basic fixed point polynomial evaluation */	polynomial((u_int *) &pos_poly.sigl, (unsigned *) &argSqSq, oddplterms, HIPOWERop - 1);	/* will be a valid positive nr with expon = 0 */	*(short *) &(neg_poly.sign) = 0;	neg_poly.exp = EXP_BIAS;	/* Do the basic fixed point polynomial evaluation */	polynomial((u_int *) &neg_poly.sigl, (unsigned *) &argSqSq, oddnegterms, HIPOWERon - 1);	mul64((long long *) (&argSq.sigl), (long long *) (&neg_poly.sigl),	    (long long *) (&neg_poly.sigl));	/* Subtract the mantissas */	*((long long *) (&pos_poly.sigl)) -= *((long long *) (&neg_poly.sigl));	/* Convert to 64 bit signed-compatible */	pos_poly.exp -= 1;	reg_move(&pos_poly, &odd_poly);	normalize(&odd_poly);	reg_mul(&odd_poly, arg, &odd_poly, FULL_PRECISION);	reg_u_add(&odd_poly, arg, &odd_poly, FULL_PRECISION);	/* This is just the odd								 * polynomial */	/* will be a valid positive nr with expon = 0 */	*(short *) &(pos_poly.sign) = 0;	pos_poly.exp = EXP_BIAS;	/* Do the basic fixed point polynomial evaluation */	polynomial((u_int *) &pos_poly.sigl, (unsigned *) &argSqSq, evenplterms, HIPOWERep - 1);	mul64((long long *) (&argSq.sigl),	    (long long *) (&pos_poly.sigl), (long long *) (&pos_poly.sigl));	/* will be a valid positive nr with expon = 0 */	*(short *) &(neg_poly.sign) = 0;	neg_poly.exp = EXP_BIAS;	/* Do the basic fixed point polynomial evaluation */	polynomial((u_int *) &neg_poly.sigl, (unsigned *) &argSqSq, evennegterms, HIPOWERen - 1);	/* Subtract the mantissas */	*((long long *) (&neg_poly.sigl)) -= *((long long *) (&pos_poly.sigl));	/* and multiply by argSq */	/* Convert argSq to a valid reg number */	*(short *) &(argSq.sign) = 0;	argSq.exp = EXP_BIAS - 1;	normalize(&argSq);	/* Convert to 64 bit signed-compatible */	neg_poly.exp -= 1;	reg_move(&neg_poly, &even_poly);	normalize(&even_poly);	reg_mul(&even_poly, &argSq, &even_poly, FULL_PRECISION);	reg_add(&even_poly, &argSq, &even_poly, FULL_PRECISION);	reg_sub(&CONST_1, &even_poly, &even_poly, FULL_PRECISION);	/* This is just the even									 * polynomial */	/* Now ready to copy the results */	if (invert) {		reg_div(&even_poly, &odd_poly, y_reg, FULL_PRECISION);	} else {		reg_div(&odd_poly, &even_poly, y_reg, FULL_PRECISION);	}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲婷婷免费| 亚洲人成7777| 亚洲欧美一区二区三区国产精品| 三级在线观看一区二区| 成人网页在线观看| 欧美大胆一级视频| 亚洲综合成人在线| 高清日韩电视剧大全免费| 欧美男女性生活在线直播观看 | 国模无码大尺度一区二区三区| 99久久精品国产一区| 精品国产1区2区3区| 五月天精品一区二区三区| 99精品欧美一区二区蜜桃免费| 精品三级在线观看| 日本vs亚洲vs韩国一区三区 | 男女性色大片免费观看一区二区| 99久久777色| 欧美国产精品v| 国产精品综合一区二区三区| 日韩精品一区二区在线| 婷婷久久综合九色国产成人 | 国产精品传媒在线| 国产高清亚洲一区| 精品少妇一区二区三区在线视频| 日韩激情在线观看| 7777精品伊人久久久大香线蕉的| 一区二区三区精品在线| 91在线精品秘密一区二区| 国产精品伦理在线| 岛国精品在线播放| 亚洲国产精品黑人久久久| 国产999精品久久| 国产亚洲综合在线| 国产 欧美在线| 国产精品另类一区| 91小视频在线观看| 亚洲精品伦理在线| 在线免费观看不卡av| 亚洲电影一区二区三区| 欧美无砖砖区免费| 视频一区二区三区在线| 欧美一级高清片在线观看| 久久成人久久鬼色| 久久精品夜夜夜夜久久| 成人黄色免费短视频| 亚洲欧美精品午睡沙发| 欧美三级一区二区| 久久精品国产99| 国产清纯在线一区二区www| 成人久久18免费网站麻豆| 亚洲久草在线视频| 欧美精品v国产精品v日韩精品| 日欧美一区二区| 精品日本一线二线三线不卡| 国产成人亚洲综合a∨猫咪| 最新不卡av在线| 欧美片网站yy| 国产成人aaa| 亚洲一区二区三区爽爽爽爽爽| 欧美色综合网站| 激情综合网av| 亚洲免费观看高清完整版在线| 欧美美女bb生活片| 国产黄色精品视频| 亚洲一区av在线| 久久奇米777| 欧美性大战久久| 国产乱人伦偷精品视频不卡 | 国产午夜亚洲精品不卡| 国产精品一区二区果冻传媒| 亚洲手机成人高清视频| 在线不卡a资源高清| 成人免费高清视频在线观看| 一区二区激情小说| 久久久精品免费观看| 日本精品裸体写真集在线观看| 免费成人在线网站| 亚洲精品欧美在线| 国产片一区二区三区| 欧美日韩mp4| 99久久精品情趣| 国内精品视频一区二区三区八戒| 亚洲精品成a人| 国产清纯白嫩初高生在线观看91 | 在线免费不卡视频| 国内国产精品久久| 亚洲午夜久久久久| 国产精品久久久久精k8 | 欧美在线观看视频在线| 国产精品一区二区免费不卡| 偷拍自拍另类欧美| 国产精品天天看| 欧美精品一区二区三区四区 | 欧美成人激情免费网| 91黄视频在线观看| 9色porny自拍视频一区二区| 久久精品免费看| 日日夜夜一区二区| 亚洲午夜久久久久中文字幕久| 国产欧美日韩三区| 国产午夜精品美女毛片视频| 欧美日韩视频不卡| 色呦呦国产精品| 99久久国产综合色|国产精品| 黄色精品一二区| 激情久久久久久久久久久久久久久久| 亚洲6080在线| 午夜一区二区三区在线观看| 亚洲在线视频网站| 亚洲欧美成aⅴ人在线观看| 国产精品剧情在线亚洲| 国产精品久久网站| 欧美极品aⅴ影院| 欧美国产丝袜视频| 国产精品情趣视频| 国产精品毛片高清在线完整版| 国产精品狼人久久影院观看方式| 欧美国产精品一区二区| 国产精品麻豆欧美日韩ww| 国产精品毛片a∨一区二区三区| 日本一区二区视频在线| 国产精品色眯眯| 中文字幕在线一区二区三区| 亚洲女人的天堂| 有坂深雪av一区二区精品| 亚洲一区欧美一区| 日韩精品一卡二卡三卡四卡无卡| 天天综合网 天天综合色| 免费在线看成人av| 国产最新精品精品你懂的| 国产v日产∨综合v精品视频| 丰满亚洲少妇av| 91福利视频在线| 3d成人h动漫网站入口| 精品电影一区二区三区| 久久精品夜色噜噜亚洲aⅴ| 国产精品不卡一区二区三区| 亚洲精品成人悠悠色影视| 午夜影视日本亚洲欧洲精品| 老汉av免费一区二区三区| 国产电影精品久久禁18| 色综合欧美在线| 91精品国产一区二区三区| 久久精品亚洲一区二区三区浴池| 成人欧美一区二区三区小说| 丝袜国产日韩另类美女| 国产乱子轮精品视频| 色屁屁一区二区| 欧美一区二区三区视频在线| 国产日韩成人精品| 亚洲第一成人在线| 国产精品一区二区在线观看不卡| 色综合色综合色综合色综合色综合 | 韩国av一区二区三区在线观看| caoporn国产一区二区| 欧美电影一区二区| 中文文精品字幕一区二区| 午夜久久久影院| 成人激情文学综合网| 制服丝袜激情欧洲亚洲| 国产农村妇女毛片精品久久麻豆| 亚洲五码中文字幕| 国产成人精品免费视频网站| 色婷婷久久久综合中文字幕| 精品成人一区二区三区| 亚洲国产色一区| 成人禁用看黄a在线| 91精选在线观看| 一区二区三区在线视频免费| 国产乱码精品一区二区三| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 国产精品久久久久久久久搜平片 | 免费人成网站在线观看欧美高清| 成人av电影在线观看| 欧美成人在线直播| 亚洲成人你懂的| 99re视频精品| 日本一区二区三区在线不卡| 美日韩一级片在线观看| 欧美性videosxxxxx| 136国产福利精品导航| 国产精品原创巨作av| 欧美一区二区精品在线| 亚洲国产视频在线| 色婷婷久久久亚洲一区二区三区| 中文成人av在线| 粉嫩欧美一区二区三区高清影视| 日韩欧美另类在线| 免费美女久久99| 宅男在线国产精品| 天天色天天操综合| 欧美日韩中文字幕一区| 夜夜亚洲天天久久| 一本色道久久综合亚洲aⅴ蜜桃| 国产精品午夜在线| 成人a区在线观看| 国产精品嫩草99a| a美女胸又www黄视频久久| 欧美激情一区二区|