@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 shouldHandleNegative() {
    assertThat(udf.cot(-0.43), closeTo(-2.1804495406685085, 0.000000000000001));
    assertThat(udf.cot(-Math.PI), closeTo(8.165619676597685E15, 0.000000000000001));
    assertThat(udf.cot(-Math.PI * 2), closeTo(4.0828098382988425E15, 0.000000000000001));
    assertThat(udf.cot(-6), closeTo(3.436353004180128, 0.000000000000001));
    assertThat(udf.cot(-6L), closeTo(3.436353004180128, 0.000000000000001));
  }