/* Copyright (C) 2014-2020, Dirk Krause SPDX-License-Identifier: BSD-3-Clause */ /* WARNING: This file was generated by the dkct program (see http://dktools.sourceforge.net/ for details). Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: dk3madfo.ctr */ #ifndef DK3MADFO_H_INCLUDED /** Avoid multiple inclusions. */ #define DK3MADFO_H_INCLUDED 1 #line 9 "dk3madfo.ctr" /** @file dk3madfo.h Output functions for double values. */ #include #include #if DK3_HAVE_SYS_TYPES_H #include #endif #if DK3_HAVE_STDINT #include #endif #if DK3_HAVE_INTTYPES_H #include #endif #if DK3_HAVE_LIMITS_H #include #endif #if DK3_HAVE_MATH_H #include #endif #if DK3_HAVE_FLOAT_H #include #endif #ifdef __cplusplus extern "C" { #endif /** Print floating point value specified as string to output file, avoid exponential notation. @param of Output file. @param buffer Buffer containing string representation of value, probably in scientific notatation. The buffer content is modified by this function. The string represenation should be built using sprintf(buffer, "%lg", value). */ void dk3ma_print_double_c8_str_no_sci(FILE *of, char *buffer); /** Print floating point value to output file, avoid exponential notation. @param of Output file. @param x Value to print. */ void dk3ma_print_double_c8_no_sci(FILE *of, double x); #ifdef __cplusplus } #endif #endif