001 /** 002 * Implements the CFML Function bitnot 003 */ 004 package railo.runtime.functions.math; 005 006 import railo.runtime.PageContext; 007 import railo.runtime.ext.function.Function; 008 009 public final class BitNot implements Function { 010 public static double call(PageContext pc , double number) { 011 return ~(int)number; 012 } 013 }