#include <tgmath.h>
#include <gmp.h>
#include <mpfr.h>
#include <stdio.h>
#include <stdbool.h>

char *name = "(pow (tan (log1p a)) (log (pow a (sinh a))))";

double f_if(float a, float __attribute__((unused)) b, float __attribute__((unused)) c) {
        float r14791 = a;
        float r14792 = log1p(r14791);
        float r14793 = tan(r14792);
        float r14794 = sinh(r14791);
        float r14795 = pow(r14791, r14794);
        float r14796 = log(r14795);
        float r14797 = pow(r14793, r14796);
        return r14797;
}

double f_id(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        double r14798 = a;
        double r14799 = log1p(r14798);
        double r14800 = tan(r14799);
        double r14801 = sinh(r14798);
        double r14802 = pow(r14798, r14801);
        double r14803 = log(r14802);
        double r14804 = pow(r14800, r14803);
        return r14804;
}


double f_of(float a, float __attribute__((unused)) b, float __attribute__((unused)) c) {
        float r14805 = a;
        float r14806 = log1p(r14805);
        float r14807 = tan(r14806);
        float r14808 = log(r14805);
        float r14809 = sinh(r14805);
        float r14810 = r14808 * r14809;
        float r14811 = pow(r14807, r14810);
        return r14811;
}

double f_od(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        double r14812 = a;
        double r14813 = log1p(r14812);
        double r14814 = tan(r14813);
        double r14815 = log(r14812);
        double r14816 = sinh(r14812);
        double r14817 = r14815 * r14816;
        double r14818 = pow(r14814, r14817);
        return r14818;
}

void mpfr_fmod2(mpfr_t r, mpfr_t n, mpfr_t d, mpfr_rnd_t rmd) {
        mpfr_fmod(r, n, d, rmd);
        if (mpfr_cmp_ui(r, 0) < 0) mpfr_add(r, r, d, rmd);
}


static mpfr_t r14819, r14820, r14821, r14822, r14823, r14824, r14825;

void setup_mpfr_f_im() {
        mpfr_set_default_prec(144);
        mpfr_init(r14819);
        mpfr_init(r14820);
        mpfr_init(r14821);
        mpfr_init(r14822);
        mpfr_init(r14823);
        mpfr_init(r14824);
        mpfr_init(r14825);
}

double f_im(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        mpfr_set_d(r14819, a, MPFR_RNDN);
        mpfr_log1p(r14820, r14819, MPFR_RNDN);
        mpfr_tan(r14821, r14820, MPFR_RNDN);
        mpfr_sinh(r14822, r14819, MPFR_RNDN);
        mpfr_pow(r14823, r14819, r14822, MPFR_RNDN);
        mpfr_log(r14824, r14823, MPFR_RNDN);
        mpfr_pow(r14825, r14821, r14824, MPFR_RNDN);
        return mpfr_get_d(r14825, MPFR_RNDN);
}

static mpfr_t r14826, r14827, r14828, r14829, r14830, r14831, r14832;

void setup_mpfr_f_fm() {
        mpfr_set_default_prec(144);
        mpfr_init(r14826);
        mpfr_init(r14827);
        mpfr_init(r14828);
        mpfr_init(r14829);
        mpfr_init(r14830);
        mpfr_init(r14831);
        mpfr_init(r14832);
}

double f_fm(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        mpfr_set_d(r14826, a, MPFR_RNDN);
        mpfr_log1p(r14827, r14826, MPFR_RNDN);
        mpfr_tan(r14828, r14827, MPFR_RNDN);
        mpfr_log(r14829, r14826, MPFR_RNDN);
        mpfr_sinh(r14830, r14826, MPFR_RNDN);
        mpfr_mul(r14831, r14829, r14830, MPFR_RNDN);
        mpfr_pow(r14832, r14828, r14831, MPFR_RNDN);
        return mpfr_get_d(r14832, MPFR_RNDN);
}

static mpfr_t r14833, r14834, r14835, r14836, r14837, r14838, r14839;

void setup_mpfr_f_dm() {
        mpfr_set_default_prec(144);
        mpfr_init(r14833);
        mpfr_init(r14834);
        mpfr_init(r14835);
        mpfr_init(r14836);
        mpfr_init(r14837);
        mpfr_init(r14838);
        mpfr_init(r14839);
}

double f_dm(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        mpfr_set_d(r14833, a, MPFR_RNDN);
        mpfr_log1p(r14834, r14833, MPFR_RNDN);
        mpfr_tan(r14835, r14834, MPFR_RNDN);
        mpfr_log(r14836, r14833, MPFR_RNDN);
        mpfr_sinh(r14837, r14833, MPFR_RNDN);
        mpfr_mul(r14838, r14836, r14837, MPFR_RNDN);
        mpfr_pow(r14839, r14835, r14838, MPFR_RNDN);
        return mpfr_get_d(r14839, MPFR_RNDN);
}

