public void exec(Tuple input, DataAtom output) throws IOException {
output.setValue(signum(input));
}
protected double signum(Tuple input) throws IOException{
Datum temp = input.getField(0);
double retVal;
if(!(temp instanceof DataAtom)){
throw new IOException("invalid input format. ");
}
else{