@Udf(description = "Returns the cotangent of an INT value")
  public Double cot(
          @UdfParameter(
                  value = "value",
                  description = "The value in radians to get the cotangent of."
          ) final Integer value
  ) {
    return cot(value == null ? null : value.doubleValue());
  }
@Test
  public void shouldHandleMoreThanPositive2Pi() {
    assertThat(udf.cot(9.1), closeTo(-2.9699983263892054, 0.000000000000001));
    assertThat(udf.cot(6.3), closeTo(59.46619211372627, 0.000000000000001));
    assertThat(udf.cot(7), closeTo(1.1475154224051356, 0.000000000000001));
    assertThat(udf.cot(7L), closeTo(1.1475154224051356, 0.000000000000001));
  }