a test function cmath pow() function