code: public static BigFloat cot(BigFloat x) {
  		if(x.isSpecial())
  			return x;
  		if(x.isZero())
  			return POSITIVE_INFINITY;
  		return x.context.valueOf(BigDecimalMath.cot(x.value, x.context.mathContext));
  	}
docs: Returns the {@link BigFloat} that is <code>cot(x)</code>.
  
  @param x the value
  
  @return the resulting {@link BigFloat}
  
  @see BigDecimalMath#cot(BigDecimal, MathContext)