add exp implementation using exp instruction in math.h
bugfix in exp impl.