Programowanie w systemie UNIX/MPC: Różnice pomiędzy wersjami
Usunięta treść Dodana treść
→mpc_set_str: If base = 0, then a prefix may be used to indicate the base in which the floating-point number is written. |
|||
Linia 415:
// good binary input ; If base = 0, then a prefix may be used to indicate the base in which the floating-point number is written.
inex = mpc_set_str (z, "(0b101 0b1.01)",0, MPC_RNDNN); // read z value from string
// print result
|