How to raise to the power of long double numbers in C

1 Answer

0 votes
#include <stdio.h>
#include <math.h>

int main() {
    printf("%Lf", powl(123, 5));

    return 0;
}
  
  

  
/*
run:
  
28153056843.000000

*/

 



answered Dec 28, 2020 by avibootz

Related questions

1 answer 146 views
1 answer 130 views
130 views asked Dec 28, 2020 by avibootz
1 answer 148 views
1 answer 188 views
2 answers 287 views
2 answers 175 views
...