EXP

Section: ¸®´ª½º ÇÁ·Î±×·¡¸Ó ¸Å´º¾ó (3)
Updated: 1993³â 6¿ù 16ÀÏ
Index
Return to Main Contents
 

À̸§

exp, log, log10, pow - Áö¼ö, ·Î±× ±×¸®°í °Åµì Á¦°ö ÇÕ¼öµé  

»ç¿ë¹ý

#include <math.h>

double exp(double x);

double log(double x);

double log10(double x);

double pow(double x, double y);
 

¼³¸í

exp() ÇÔ¼ö´Â e(º£À̽º´Â ÀÚ¿¬ ·Î±×) ÀÇ x Á¦°ö°ªÀ» ¹ÝȯÇÑ´Ù.

log() ÇÔ¼ö´Â xÀÇ ÀÚ¿¬ ·Î±×¸¦ ¹ÝȯÇÑ´Ù.

log10() ÇÔ¼ö´Â xÀÇ º£À̽º-10 ·Î±×(»ó¿ë·Î±×) °ªÀ» ¹ÝȯÇÑ´Ù.

pow() ÇÔ¼ö´Â xÀÇ y ½Â °ªÀ» ¹ÝȯÇÑ´Ù.  

¿¡·¯

log() ¿Í log10() ÇÔ¼ö´Â ´ÙÀ½ ¿¡·¯µéÀ» ¹ÝȯÇÒ¼ö ÀÖ´Ù:
EDOM
ÀÎÀÚ x°¡ À½¼öÀÌ´Ù.
ERANGE
ÀÎÀÚ x°¡ 0ÀÌ´Ù. ·Î±× 0Àº Á¤ÀǵǾî ÀÖÁö ¾Ê´Ù.

pow() ÇÔ¼ö´Â ´ÙÀ½ ¿¡·¯µéÀ» ¹ÝȯÇÒ¼ö ÀÖ´Ù:

EDOM
ÀÎÀÚ x°¡ À½¼öÀÌ°í y°¡ ¾ç¼ö °ªÀÌ ¾Æ´Ï´Ù. ÀÌ°ÍÀº º¹¼Ò¼ö°¡ µÈ´Ù.
 

ȣȯ

SVID 3, POSIX, BSD 4.3, ISO 9899  

°ü·Ã Ç׸ñ

sqrt(3), cbrt(3)  

¿ªÀÚ

Á¤°­ÈÆ <skyeyes@soback.kornet.net>, 2001³â 5¿ù 24ÀÏ


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¿¡·¯
ȣȯ
°ü·Ã Ç׸ñ
¿ªÀÚ

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004