~arivigo/scalc

48409aa79e6a868f82ab7cd070d3968e09ef72ad — Ariadna Vigo a month ago 3ac4e52
op.c: using OP_PI instead of op_cst_pi() internally
1 files changed, 3 insertions(+), 3 deletions(-)

M op.c
M op.c => op.c +3 -3
@@ 170,7 170,7 @@ op_csc(double n)
static double
op_acot(double n)
{
	return op_cst_pi() / 2 - atan(n);
	return OP_PI / 2 - atan(n);
}

static double


@@ 188,13 188,13 @@ op_acsc(double n)
static double
op_todeg(double n)
{
	return n * 180 / op_cst_pi();
	return n * 180 / OP_PI;
}

static double
op_torad(double n)
{
	return n * op_cst_pi() / 180;
	return n * OP_PI / 180;
}

static double