/[escript]/trunk/esys2/escript/src/Data/UnaryFuncs.h
ViewVC logotype

Contents of /trunk/esys2/escript/src/Data/UnaryFuncs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 102 - (show annotations)
Wed Dec 15 07:08:39 2004 UTC (15 years, 2 months ago) by jgs
File MIME type: text/plain
File size: 1158 byte(s)
*** empty log message ***

1 // $Id$
2 /*
3 ******************************************************************************
4 * *
5 * COPYRIGHT ACcESS 2004 - All Rights Reserved *
6 * *
7 * This software is the property of ACcESS. No part of this code *
8 * may be copied in any form or by any means without the expressed written *
9 * consent of ACcESS. Copying, use or modification of this software *
10 * by any unauthorised person is illegal unless that person has a software *
11 * license agreement with ACcESS. *
12 * *
13 ******************************************************************************
14 */
15
16 #if !defined escript_UnaryFuncs_20041124_H
17 #define escript_UnaryFuncs_20041124_H
18
19 namespace escript {
20
21 inline
22 double
23 fsign(double x)
24 {
25 return x/fabs(x);
26 }
27
28 } // end of namespace
29 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26