Search:

Type: Posts; User: WMilner

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,142

    But functions in math.h eg exp do not require the...

    But functions in math.h eg exp do not require the -lm flag (even though the manual says they do) - either in gcc at the command line or from Netbeans
  2. Replies
    5
    Views
    1,142

    OK thanks this works. Can you explain why this is...

    OK thanks this works. Can you explain why this is needed? Is it because gcc treats these as 'built-in' functions?

    And why it does not work from Netbeans, with command line options set to:
    -m64...
  3. Replies
    5
    Views
    1,142

    GCC can't find some complex.h functions

    With code like this:


    #include <stdio.h>
    #include <complex.h>
    #include <math.h>


    int main(int argc, char *argv[]) {
Results 1 to 3 of 3