»ØÒäC¹ÅÀϵÄmath.h¿â
FreeEIM
»ØÒäC¹ÅÀϵÄmath.h¿â
¸ÅÊö£º
¡¡¡¡math.hÖÐΪÎÒÃÇÌṩÁËÈý½Çº¯ÊýÊýÖµÔËËã¡¢Ö¸Êý¶ÔÊýÔËËã¡¢¾ø¶ÔÖµ¡¢Æ½·½Öµ¡¢ÒÔ¼°Ò»Ð©»ù±¾µÄÊýÖµ´¦Àí¡£
º¯Êý£ºsin
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄÕýÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºsin(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºcos
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄÓàÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºcos(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºtan
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄÕýÇÐÖµ¡£
ʹÓÃ˵Ã÷£ºtan(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºsinh
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄË«ÇúÕýÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºsinh(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºcosh
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄË«ÇúÓàÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºcosh(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºtanh
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄË«ÇúÕýÇÐÖµ¡£
ʹÓÃ˵Ã÷£ºtanh(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºasin
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄ·´ÕýÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºasin(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºacos
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄ·´ÓàÏÒÖµ¡£
ʹÓÃ˵Ã÷£ºacos(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºatan
¹¦ÄÜ£º¼ÆË㻡¶ÈµÄ·´ÕýÇÐÖµ¡£
ʹÓÃ˵Ã÷£ºatan(x)£¬xΪ´«ÈëµÄ»¡¶ÈÖµ¡£
º¯Êý£ºatan2
¹¦ÄÜ£º¼ÆËãÁ½¸ö¸¡µãÊýÀàÐÍÖµÖ®±ÈµÄ·´ÕýÇÐÖµ¡£
ʹÓÃ˵Ã÷£ºatan2(x,y)£¬¸Ãº¯Êý»á¼ÆËã³öx/yµÄ·´ÕýÇÐÖµ¡£
º¯Êý£ºlog
¹¦ÄÜ£º¼ÆË㸡µãÊýµÄ×ÔÈ»¶ÔÊýÖµ¡£
ʹÓÃ˵Ã÷£ºlog(x)£¬¼ÆËãÒÔeΪµ×µÄ¶ÔÊý¡£
º¯Êý£ºlog10
¹¦ÄÜ£ºÒÔ10Ϊµ×À´¼ÆËã¶ÔÊýÖµ¡£
ʹÓÃ˵Ã÷£ºlog10(x)£¬¼ÆËãÒÔ10Ϊµ×µÄ¶ÔÊý¡£
º¯Êý£ºpow
¹¦ÄÜ£º¼ÆËã³öijÊýµÄij´Î·½Öµ¡£
ʹÓÃ˵Ã÷£ºpow(x,y)£¬¼ÆËãxµÄy´Î·½¡£
º¯Êý£ºexp
¹¦ÄÜ£º¼ÆË㸡µãΪÊýµÄÖ¸Êýº¯ÊýÖµ¡£
ʹÓÃ˵Ã÷£ºexp(x)£¬¼ÆËãeµÄx´Î·½¡£
º¯Êý£ºfrexp
¹¦ÄÜ£ºµ÷Õû¸¡µã±äÁ¿£¬½«Ô±äÁ¿µÄÊýÖµ²¿·Öµ÷Õûµ½½éÓÚ0.5ºÍ1Ö®¼ä¡£
ʹÓÃ˵Ã÷£ºdouble y = frexp(double x, int *expptr)£¬º¯Êýfrexp½«double xµÄÊýÖµ²¿·Öµ÷Õû³É½éÓÚ0.5ºÍ1Ö®¼ä£¬½«µ÷ÕûºÃµÄÐÂÊýÖµ²¿·Ö»Ø´«¸øy£¬¶øÖ¸Êý²¿·Ö½«´«¸øÖ¸ÕëexpptrËùÖ¸µÄλÖã¬Ê¹x=y*(2^expptr)¡£Èçx=10.5428£¬y½«Îª0.658925£¬*expptr½«Îª4£¬ÓÐËãʽ10.5428=0.658925*(2^4)¡£
º¯Êý£ºldexp
¹¦ÄÜ£º¸ù¾ÝËù¸øÓèµÄÊýÖµ²¿·ÖxºÍÖ¸Êý²¿·Öy¼ÆËã³ö¸¡µãÊýx*(2^y)µÄÖµ¡£
ʹÓÃ˵Ã÷£ºldexp(double x, int y)£¬½«·µ»Øx*(2^y)µÄÖµ¡£
º¯Êý£º_cabs
¹¦ÄÜ£ºÈ¡µÃ¸´Êý½á¹¹µÄ¾ø¶ÔÖµ¡£
ʹÓÃ˵Ã÷£ºdouble y = _cabs(struct _complex x)£¬É踴ÊýxµÄʵÊý²¿·ÖΪa£¬ÐéÊý²¿·ÖΪb£¬Ôòcabs½«»á¼ÆËãx.aµÄƽ·½¼Óx.bµÄƽ·½µÄºÍ¿ª¸ùºÅµÄÖµ¡£
º¯Êý£ºfabs
¹¦ÄÜ£º¼ÆË㸡µãÊý±äÁ¿µÄ¾ø¶ÔÖµ¡£
ʹÓÃ˵Ã÷£ºfabs(x)£¬¼ÆËãxµÄ¾ø¶ÔÖµ¡£
º¯Êý£ºhypot
¹¦ÄÜ£
Ïà¹ØÎĵµ£º
ÕâƪÎÄÕÂÖмǼ±¾È˶ÔһЩC/C++»ù´¡¸ÅÄîµÄÀí½â£¬Ö÷Òª°üÀ¨ÒÔϼ¸¸ö·½ÃæÄÚÈÝ£º
1¡¢ÀàÐÍת»»
1¡¢ÀàÐÍת»»
ÔÚCºÍC++µÄÒ»¸ö±í´ïʽÖÐÍùÍù»á°üº¬¼¸ÖÖ²»Í¬µÄÊý¾ÝÀàÐÍ£¬ÒªÈÃÕâЩÊý¾ÝÀàÐÍÖ®¼ä¿ÉÒÔ½øÐÐÔËË㣬±ØÐëÈÃËûÃÇÖ®ÖеÄһЩ»òÈ«²¿½øÐÐÀàÐÍת»»£¬ÕâÖÖת»»ÓÐÁ½ÖÖÐÎʽ£¬Ò»ÖÖÊDZàÒëÆ÷×Ô¶¯½øÐеģ¬½ÐÒþʽÀàÐÍת»»£¬ÁíÒ»ÖÖÊDZà³ÌÖÐÇ ......
CRTÔÏÈÊÇÖ¸Microsoft¿ª·¢µÄC Runtime Library£¬ÓÃÓÚ²Ù×÷ϵͳµÄ¿ª·¢¼°ÔËÐС£ºóÀ´ÔÚ´Ë»ù´¡ÉÏ¿ª·¢ÁËC++
Runtime Library£¬ËùÒÔÏÖÔÚCRTÊÇÖ¸Microsoft¿ª·¢µÄC/C++ Runtime
Library¡£ÔÚVCµÄCRT/SRCĿ¼Ï£¬¿ÉÒÔ¿´µ½CRTµÄÔ´Â룬²»½öÓÐCµÄ£¬Ò²ÓÐC++µÄ¡£
CRTÔÏȵÄÄ¿µÄ¾ÍÊÇÖ§³Ö²Ù×÷ϵͳµÄ ......
yeah£¬×éºÏµÄÒ²³öÀ´ÁË£¬ÔÙÒ»Æð·¢Ò»¸ö
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication32
{
class Program
{
static int s = 0;
static void Main(string[] args)
{
Console.Writ ......
¸ßÖÊÁ¿C++/C±à³ÌÖ¸ÄÏ
Îļþ״̬
[ ] ²Ý¸åÎļþ
[√] ÕýʽÎļþ
[ ] ¸ü¸ÄÕýʽÎļþ Îļþ±êʶ£º
µ±Ç°°æ±¾£º 1.0
×÷ Õߣº ÁÖÈñ ²©Ê¿
Íê³ÉÈÕÆÚ£º 2001Äê7ÔÂ24ÈÕ
°æ ±¾ Àú Ê·
°æ±¾/״̬ ×÷Õß ²ÎÓëÕß ÆðÖ¹ÈÕÆÚ ±¸×¢
V ......
ÔÚWindows 2000/XPÖУ¬"Documents and Settings"ÊÇÒ»¸öÌØÊâÎļþ¼Ð¡£Óû§ÅäÖÃÎļþ¡¢×ÀÃæ¡£ÉõÖÁÁ¬ÃÜÔ¿ÐÅÏ¢¶¼±£´æÔÚÕâÀïÃæ¡£Èç¹ûÓ²Å̿ռ䲻¹»£¬Ïë°ÑËüÃÇ»»¸öµØ·½¡£µ«ÕâЩ¶«Î÷È´ºÜÄÑÒƶ¯¡£ÎÒÃǵÄÎÊÌâÊÇ£ºÈçºÎÔÚ±£Ö¤ÏµÍ³Õý³£ÔËÐеÄÇé¿öÏ£¬½«"Documents and Settings"Îļþ¼ÐÒƶ¯µ½ÁíÍâÒ»¸ö·ÖÇø?
......