search for: _recoplay_fopen

Displaying 1 result from an estimated 1 matches for "_recoplay_fopen".

2005 Sep 26
1
Precomputing the remaining floating point operations.
...ded is to include the code segment below in one of the .h files and wrap all those float calculations in RECOPLAY, e.g. int sqrt2 = RECOPLAY(sqrt(2)*16384) I've also made RECOPLAY_MARK(name) to synchronize the process. #ifdef RECORD #include <stdio.h> extern FILE *recordFile; #define _RECOPLAY_FOPEN \ if (!recordFile && (recordFile = fopen ("precompute.c", "w")) != NULL) { \ fprintf (recordFile, "#include \"config.h\"\n\ #ifndef EMBEDDED\n\ #include <stdio.h>\n\ FILE *recordFile = NULL;\n\ #else\n\ int re...