/* Copyright (C) 2015-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: dk4maoddbl.ctr */ /** @file dk4maoddbl.c The dk4maoddbl module. */ #line 72 "dk4maoddbl.ctr" #include "dk4conf.h" #include "dk4maoddbl.h" #if DK4_CHAR_SIZE > 1 #include "dk4maowdbl.h" #else #include "dk4mao8dbl.h" #endif #if DK4_HAVE_ASSERT_H #ifndef ASSERT_H_INCLUDED #include #define ASSERT_H_INCLUDED 1 #endif #endif int dk4ma_write_double( dkChar *dptr, size_t szdptr, double v, int exact, int minimize, dk4_er_t *erp ) { #if DK4_USE_ASSERT assert(NULL != dptr); assert(0 < szdptr); #endif #if DK4_CHAR_SIZE > 1 return (dk4ma_write_wc_double(dptr, szdptr, v, exact, minimize, erp)); #else return (dk4ma_write_c8_double(dptr, szdptr, v, exact, minimize, erp)); #endif }