fix bug in pico_float_test #817

Merged
kilograham merged 1 commit from pico_float_test into develop 2022-05-10 12:58:55 -05:00
kilograham commented 2022-05-10 12:54:53 -05:00 (Migrated from github.com)
No description provided.
lurch commented 2022-05-10 14:27:25 -05:00 (Migrated from github.com)

Huh? On lines 392-394 you do:

        float s, c;
        sincosf(x, &s, &c);
        printf("FSINCOS %10.18f %10.18f\n", s, c);

and then on lines 404-405 (still at the same scope level) you do:

        sincosf(x, &s, &c);
        printf("SINCOS %10.18f %10.18f\n", s, c);

?

And then on lines 440-442 (in a different scope level) you do:

        float s, c;
//        sincosf(x, &s, &c);
        printf("FSINCOS %10.18f %10.18f\n", s, c);

😕

Huh? On lines 392-394 you do: ```c float s, c; sincosf(x, &s, &c); printf("FSINCOS %10.18f %10.18f\n", s, c); ``` and then on lines 404-405 (still at the same scope level) you do: ```c sincosf(x, &s, &c); printf("SINCOS %10.18f %10.18f\n", s, c); ``` ? And then on lines 440-442 (in a different scope level) you do: ```c float s, c; // sincosf(x, &s, &c); printf("FSINCOS %10.18f %10.18f\n", s, c); ``` :confused:
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!817
No description provided.