| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Cube root |
Hi Todd, TO> How can I find cube roots in C? All I can find is a sqrt TO> function. TO> Does anyone know where I could get a cube root function? Look a little harder ... ************************************** #include double pow(double x, double y); /* x to the power of y */ #define CUBEROOT(z) (pow(z, 1.0/3.0)) ************************************** Hope this helps, BTW, What on earth do you want cube roots for? Michael Stapleton of Graphic Bits. ...This tagline is encrypted. --- Blue Wave/RA v0.7 Q-Blue SD®¯“+* Origin: The Three Amigas - better than two (3:713/615.0) SEEN-BY: 50/99 54/54 620/243 623/625 630 711/409 430 807 808 809 932 934 SEEN-BY: 712/508 623 713/111 317 601 611 615 618 700 729 805 888 906 714/906 SEEN-BY: 800/1 @PATH: 713/615 888 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.