| 1 |
/***************************************************************************** |
| 2 |
* Free42 -- an HP-42S calculator simulator |
| 3 |
* Copyright (C) 2004-2026 Thomas Okken |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License, version 2, |
| 7 |
* as published by the Free Software Foundation. |
| 8 |
* |
| 9 |
* This program is distributed in the hope that it will be useful, |
| 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
* GNU General Public License for more details. |
| 13 |
* |
| 14 |
* You should have received a copy of the GNU General Public License |
| 15 |
* along with this program; if not, see http://www.gnu.org/licenses/. |
| 16 |
*****************************************************************************/ |
| 17 |
|
| 18 |
#ifndef CORE_MATH2_H |
| 19 |
#define CORE_MATH2_H 1 |
| 20 |
|
| 21 |
#include "core_phloat.h" |
| 22 |
|
| 23 |
phloat math_random(); |
| 24 |
int math_tan(phloat x, phloat *y, bool rad); |
| 25 |
int math_asinh(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 26 |
int math_acosh(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 27 |
int math_atanh(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 28 |
int math_ln(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 29 |
int math_sqrt(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 30 |
int math_inv(phloat xre, phloat xim, phloat *yre, phloat *yim); |
| 31 |
|
| 32 |
#endif |