root/src/dps8/dps8_math.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * vim: filetype=c:tabstop=4:ai:expandtab
   3  * SPDX-License-Identifier: ICU
   4  * scspell-id: a3d21800-f62e-11ec-8838-80ee73e9b8e7
   5  *
   6  * ---------------------------------------------------------------------------
   7  *
   8  * Copyright (c) 2007-2013 Michael Mondy
   9  * Copyright (c) 2012-2016 Harry Reed
  10  * Copyright (c) 2013-2016 Charles Anthony
  11  * Copyright (c) 2021-2024 The DPS8M Development Team
  12  *
  13  * This software is made available under the terms of the ICU License.
  14  * See the LICENSE.md file at the top-level directory of this distribution.
  15  *
  16  * ---------------------------------------------------------------------------
  17  */
  18 
  19 long double EAQToIEEElongdouble(cpu_state_t * cpup);
  20 #if defined(__MINGW32__) || defined(__MINGW64__)
  21 double EAQToIEEEdouble(cpu_state_t * cpup);
  22 #endif
  23 #if !defined(QUIET_UNUSED)
  24 float72 IEEElongdoubleToFloat72(long double f);
  25 void IEEElongdoubleToEAQ(long double f0);
  26 double float36ToIEEEdouble(float36 f36);
  27 float36 IEEEdoubleTofloat36(double f);
  28 #endif /* if !defined(QUIET_UNUSED) */
  29 void ufa (cpu_state_t * cpup, bool sub, bool normalize);
  30 void ufs (cpu_state_t * cpup);
  31 void fno (cpu_state_t * cpup, word8 * E, word36 * A, word36 * Q);
  32 void fno_ext (cpu_state_t * cpup, int * e0, word8 * E, word36 * A, word36 * Q);
  33 
  34 void fneg (cpu_state_t * cpup);
  35 void ufm (cpu_state_t * cpup, bool normalize);
  36 void fdv (cpu_state_t * cpup);
  37 void fdi (cpu_state_t * cpup);
  38 void frd (cpu_state_t * cpup);
  39 void fcmp(cpu_state_t * cpup);
  40 void fcmg(cpu_state_t * cpup);
  41 
  42 //void dufa (void);
  43 //void dufs (void);
  44 void dufa (cpu_state_t * cpup, bool subtract, bool normalize);
  45 void dufm (cpu_state_t * cpup, bool normalize);
  46 void dfdv (cpu_state_t * cpup);
  47 void dfdi (cpu_state_t * cpup);
  48 void dfrd (cpu_state_t * cpup);
  49 void dfcmp (cpu_state_t * cpup);
  50 void dfcmg (cpu_state_t * cpup);
  51 
  52 void dvf (cpu_state_t * cpup);
  53 
  54 void dfstr (cpu_state_t * cpup, word36 *Ypair);
  55 void fstr(cpu_state_t * cpup, word36 *CY);

/* [previous][next][first][last][top][bottom][index][help] */