Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: [OT(C)] float parameter treated as double by callee -- but it fails with FFI

by ikegami (Patriarch)
on Jul 01, 2021 at 23:10 UTC ( #11134573=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    signed char c = 123;
    int         i = 123;
    ...
    printf("%d\n", c);   // ok, even though %d expects int.
    printf("%f\n", d);   // ok
    printf("%f\n", f);   // ok, even though %f expects double.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134573]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2022-10-07 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (29 votes). Check out past polls.

    Notices?