79149362

Date: 2024-11-01 20:41:44
Score: 0.5
Natty:
Report link

You can even open this math.h file and look at the prototypes.

This is by no means certain. The C language does not require

Can you help me where can I find the declaration of sin function of math.h file.

On Debian Linux, you're almost certainly using the GNU C library. In its math.h, you will find some directives of the form

#include <bits/mathcalls.h>

These each bring in the contents of the designated file, expanded according to different sets of macro definitions. The resulting macro-expanded declarations in my copy of Glibc include (reformatted):

extern double cos(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double sin(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double tan(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double pow(double __x, double __y) __attribute__ ((__nothrow__ , __leaf__));

Do not concern yourself with the __attribute__ stuff. That's a GNU extension that you don't need to know or care about at this point in your journey.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: John Bollinger