Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

272
Visualizações
Is there any library to do math calculations in C? as well as Numpy in Python
over 4 years ago · Andres Camilo Beltran Cordoba
1 Respostas
Responde à pergunta

0

you can use math.h es as it defines several math functions and a macro.

All functions available in this library take double as an argument and return double as a result.

For example:

double fabs(double x) – The C library function double fabs(double x) returns the absolute value of x.

 syntax : double fabs(double x)

 // C code to illustrate // the use of fabs function #include <stdio.h> #include <math.h> int main () { int a, b; a = 1234; b = -344; printf("The absolute value of %d is %lf\n", a, fabs(a)); printf("The absolute value of %d is %lf\n", b, fabs(b)); return(0); }

Output:

 The absolute value of 1234 is 1234.000000 The absolute value of -344 is 344.000000

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda