#include <iostream>
#include <cmath>

int main() {
    double x = 1e-10;

    // استفاده از exp و کم کردن یک
    double exp_result = exp(x) - 1;
    
    // استفاده از expm1
    double expm1_result = expm1(x);

    std::cout << "exp(x) - 1 = " << exp_result << std::endl;
    std::cout << "expm1(x) = " << expm1_result << std::endl;

    return 0;
}