#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 r14799 = a;
        float r14800 = log1p(r14799);
        float r14801 = tan(r14800);
        float r14802 = sinh(r14799);
        float r14803 = pow(r14799, r14802);
        float r14804 = log(r14803);
        float r14805 = pow(r14801, r14804);
        return r14805;
}

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


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

double f_od(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        double r14820 = a;
        double r14821 = log1p(r14820);
        double r14822 = tan(r14821);
        double r14823 = log(r14820);
        double r14824 = sinh(r14820);
        double r14825 = r14823 * r14824;
        double r14826 = pow(r14822, r14825);
        return r14826;
}

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 r14827, r14828, r14829, r14830, r14831, r14832, r14833;

void setup_mpfr_f_im() {
        mpfr_set_default_prec(144);
        mpfr_init(r14827);
        mpfr_init(r14828);
        mpfr_init(r14829);
        mpfr_init(r14830);
        mpfr_init(r14831);
        mpfr_init(r14832);
        mpfr_init(r14833);
}

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

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

void setup_mpfr_f_fm() {
        mpfr_set_default_prec(144);
        mpfr_init(r14834);
        mpfr_init(r14835);
        mpfr_init(r14836);
        mpfr_init(r14837);
        mpfr_init(r14838);
        mpfr_init(r14839);
        mpfr_init(r14840);
}

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

static mpfr_t r14841, r14842, r14843, r14844, r14845, r14846, r14847;

void setup_mpfr_f_dm() {
        mpfr_set_default_prec(144);
        mpfr_init(r14841);
        mpfr_init(r14842);
        mpfr_init(r14843);
        mpfr_init(r14844);
        mpfr_init(r14845);
        mpfr_init(r14846);
        mpfr_init(r14847);
}

double f_dm(double a, double __attribute__((unused)) b, double __attribute__((unused)) c) {
        mpfr_set_d(r14841, a, MPFR_RNDN);
        mpfr_log1p(r14842, r14841, MPFR_RNDN);
        mpfr_tan(r14843, r14842, MPFR_RNDN);
        mpfr_log(r14844, r14841, MPFR_RNDN);
        mpfr_sinh(r14845, r14841, MPFR_RNDN);
        mpfr_mul(r14846, r14844, r14845, MPFR_RNDN);
        mpfr_pow(r14847, r14843, r14846, MPFR_RNDN);
        return mpfr_get_d(r14847, MPFR_RNDN);
}

