implement libraries except fdiv, sqrt and atan