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 161 views
1 answer 141 views
141 views asked Dec 28, 2020 by avibootz
1 answer 164 views
1 answer 207 views
2 answers 311 views
2 answers 193 views
...