diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/test-sqdbl.ctr | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/test-sqdbl.ctr')
-rw-r--r-- | support/dktools/test-sqdbl.ctr | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/support/dktools/test-sqdbl.ctr b/support/dktools/test-sqdbl.ctr deleted file mode 100644 index 6ec065e36f..0000000000 --- a/support/dktools/test-sqdbl.ctr +++ /dev/null @@ -1,37 +0,0 @@ - -#include "dk4conf.h" -#include "dk4types.h" - -#include <stdio.h> -#include <math.h> - -#include "dk4str8.h" - - - -$!trace-include - - - -int main(void) -{ - char buf[64]; - double v; - int i; - - v = 5.555 / 1000000.0; - for (i = 0; i < 12; i++) { - if (0 != dk4str8_double_to_string(buf, sizeof(buf), v, 0, NULL)) { - fputs(buf, stdout); - fputc('\n', stdout); - } - if (0 != dk4str8_double_to_string(buf, sizeof(buf), v, 1, NULL)) { - fputs(buf, stdout); - fputc('\n', stdout); - } - v = 10.0 * v; - fputc('\n', stdout); - } - return 0; -} - |