summaryrefslogtreecommitdiffstats
path: root/newlib/libm/machine/spu/headers/tan.h
blob: 04072fb861eff7c48fb829243a156c4e5fb82659 (plain)
1
2
3
4
5
6
#include "headers/tand2.h"

static __inline double _tan(double angle)
{
  return spu_extract(_tand2(spu_promote(angle, 0)), 0);
}