@Udf(description = "Returns the cosine of an INT value")
  public Double cos(
          @UdfParameter(
                  value = "value",
                  description = "The value in radians to get the cosine of."
          ) final Integer value
  ) {
    return cos(value == null ? null : value.doubleValue());
  }
@Test
  public void shouldHandleLessThanNegative2Pi() {
    assertThat(udf.cos(-9.1), closeTo(-0.9477216021311119, 0.000000000000001));
    assertThat(udf.cos(-6.3), closeTo(0.9998586363834151, 0.000000000000001));
    assertThat(udf.cos(-7), closeTo(0.7539022543433046, 0.000000000000001));
    assertThat(udf.cos(-7L), closeTo(0.7539022543433046, 0.000000000000001));
  }