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