Arg[z] that works with zero argument?

*To*: mathgroup at smc.vnet.net*Subject*: [mg50860] Arg[z] that works with zero argument?*From*: AES/newspost <siegman at stanford.edu>*Date*: Fri, 24 Sep 2004 04:41:35 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

I'd like a simple Arg[z] function that would "work" [return some simple value; zero is OK] for zero argument values, even if z is a list. My simplest kludge so far is myArg[z_] := Module[{eps=10^(-17)}, Arg[z+eps]] Seems to work OK so far -- better ways to do this?

**Follow-Ups**:**Re: Arg[z] that works with zero argument?***From:*"Maxim A. Dubinnyi" <maxim@nmr.ru>