1.\" Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> 2.\" 3.\" Permission to use, copy, modify, and distribute this software for any 4.\" purpose with or without fee is hereby granted, provided that the above 5.\" copyright notice and this permission notice appear in all copies. 6.\" 7.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14.\" 15.Dd $Mdocdate: June 5 2013 $ 16.Dt CPOW 3 17.Os 18.Sh NAME 19.Nm cpow , 20.Nm cpowf , 21.Nm cpowl 22.Nd complex power functions 23.Sh SYNOPSIS 24.In complex.h 25.Ft double complex 26.Fn cpow "double complex x" "double complex z" 27.Ft float complex 28.Fn cpowf "float complex x" "float complex z" 29.Ft long double complex 30.Fn cpowl "long double complex x" "long double complex z" 31.Sh DESCRIPTION 32The 33.Fn cpow , 34.Fn cpowf 35and 36.Fn cpowl 37functions compute the complex number 38.Fa x 39raised to the complex power 40.Fa z , 41with a branch cut along the negative real axis for the first argument. 42.Sh RETURN VALUES 43The 44.Fn cpow , 45.Fn cpowf 46and 47.Fn cpowl 48functions return the complex number 49.Fa x 50raised to the complex power 51.Fa z . 52.Sh SEE ALSO 53.Xr cexp 3 , 54.Xr clog 3 55.Sh STANDARDS 56The 57.Fn cpow , 58.Fn cpowf 59and 60.Fn cpowl 61functions conform to 62.St -isoC-99 . 63