Write a double (64 bits) Throws an exception of type (cfile_error *) if the OS returns an error on write
| 823 | // Write a double (64 bits) |
| 824 | // Throws an exception of type (cfile_error *) if the OS returns an error on write |
| 825 | void cf_WriteDouble(CFILE *cfp, double d) { |
| 826 | auto t = D3::convert_le<double>(d); |
| 827 | cf_WriteBytes((uint8_t *)&t, sizeof(t), cfp); |
| 828 | } |
| 829 | |
| 830 | // Copies a file. Returns TRUE if copied ok. Returns FALSE if error opening either file. |
| 831 | // Throws an exception of type (cfile_error *) if the OS returns an error on read or write |
no test coverage detected