Write a float (32 bits) Throws an exception of type (cfile_error *) if the OS returns an error on write
| 816 | // Write a float (32 bits) |
| 817 | // Throws an exception of type (cfile_error *) if the OS returns an error on write |
| 818 | void cf_WriteFloat(CFILE *cfp, float f) { |
| 819 | float t = INTEL_FLOAT(f); |
| 820 | cf_WriteBytes((uint8_t *)&t, sizeof(t), cfp); |
| 821 | } |
| 822 | |
| 823 | // Write a double (64 bits) |
| 824 | // Throws an exception of type (cfile_error *) if the OS returns an error on write |
no test coverage detected