summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/asinh
diff options
context:
space:
mode:
authorjofret2007-09-11 16:02:09 +0000
committerjofret2007-09-11 16:02:09 +0000
commita6e5fe5da63ed2dd8db74504075abacd2d557754 (patch)
tree6b42401bfecf6fb89a170862b184de119eebc1ee /src/elementaryFunctions/asinh
parent110650613fca7f68c4e683c7fb1b4cc0eb9279ee (diff)
downloadscilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.gz
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.tar.bz2
scilab2c-a6e5fe5da63ed2dd8db74504075abacd2d557754.zip
End of prototyping all elementary functions.
Just need some code (wait for an internship).
Diffstat (limited to 'src/elementaryFunctions/asinh')
-rw-r--r--src/elementaryFunctions/asinh/Makefile.am54
-rw-r--r--src/elementaryFunctions/asinh/Makefile.in599
-rw-r--r--src/elementaryFunctions/asinh/casinha.c20
-rw-r--r--src/elementaryFunctions/asinh/casinhs.c18
-rw-r--r--src/elementaryFunctions/asinh/dasinha.c20
-rw-r--r--src/elementaryFunctions/asinh/dasinhs.c19
-rw-r--r--src/elementaryFunctions/asinh/sasinha.c20
-rw-r--r--src/elementaryFunctions/asinh/sasinhs.c18
-rw-r--r--src/elementaryFunctions/asinh/testAsinh.c150
-rw-r--r--src/elementaryFunctions/asinh/testAsinh.h40
-rw-r--r--src/elementaryFunctions/asinh/zasinha.c20
-rw-r--r--src/elementaryFunctions/asinh/zasinhs.c18
12 files changed, 996 insertions, 0 deletions
diff --git a/src/elementaryFunctions/asinh/Makefile.am b/src/elementaryFunctions/asinh/Makefile.am
new file mode 100644
index 00000000..7a36d182
--- /dev/null
+++ b/src/elementaryFunctions/asinh/Makefile.am
@@ -0,0 +1,54 @@
+##
+## -*- makefile -*-
+##
+## Makefile
+## Made by Bruno JOFRET <bruno.jofret@inria.fr>
+##
+## Started on Fri Jan 5 10:19:16 2007 jofret
+## Last update Thu Sep 6 11:18:16 2007 bruno
+##
+## Copyright INRIA 2007
+##
+
+AM_CFLAGS = -I ../../type \
+ -I ../includes
+
+instdir = $(top_builddir)/lib
+
+inst_LIBRARIES = libAsinh.a
+
+noinst_LIBRARIES = libAsinh.a
+
+libAsinh_a_SOURCES = $(HEAD) $(SRC)
+
+SRC = sasinhs.c \
+ dasinhs.c \
+ casinhs.c \
+ zasinhs.c \
+ sasinha.c \
+ dasinha.c \
+ casinha.c \
+ zasinha.c
+
+HEAD = ../includes/asinh.h
+
+####
+# Checking Part
+####
+
+check_INCLUDES = -I $(top_builddir)/elementaryFunctions/includes \
+ -I $(top_builddir)/type
+
+check_PROGRAMS = testAsinh
+
+TESTS = testAsinh
+
+#
+# -*- Hyperbolic ArcSine Tests -*-
+#
+testAsinh_SOURCES = testAsinh.c
+testAsinh_CFLAGS = $(check_INCLUDES)
+testAsinh_LDADD = $(top_builddir)/lib/libDoubleComplex.a \
+ $(top_builddir)/lib/libFloatComplex.a \
+ $(top_builddir)/lib/libAsinh.a \
+ @LIBMATH@ \ No newline at end of file
diff --git a/src/elementaryFunctions/asinh/Makefile.in b/src/elementaryFunctions/asinh/Makefile.in
new file mode 100644
index 00000000..9752aa4f
--- /dev/null
+++ b/src/elementaryFunctions/asinh/Makefile.in
@@ -0,0 +1,599 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+check_PROGRAMS = testAsinh$(EXEEXT)
+TESTS = testAsinh$(EXEEXT)
+subdir = elementaryFunctions/asinh
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/includes/machine.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(instdir)"
+instLIBRARIES_INSTALL = $(INSTALL_DATA)
+LIBRARIES = $(inst_LIBRARIES) $(noinst_LIBRARIES)
+AR = ar
+ARFLAGS = cru
+libAsinh_a_AR = $(AR) $(ARFLAGS)
+libAsinh_a_LIBADD =
+am__objects_1 =
+am__objects_2 = sasinhs.$(OBJEXT) dasinhs.$(OBJEXT) casinhs.$(OBJEXT) \
+ zasinhs.$(OBJEXT) sasinha.$(OBJEXT) dasinha.$(OBJEXT) \
+ casinha.$(OBJEXT) zasinha.$(OBJEXT)
+am_libAsinh_a_OBJECTS = $(am__objects_1) $(am__objects_2)
+libAsinh_a_OBJECTS = $(am_libAsinh_a_OBJECTS)
+am_testAsinh_OBJECTS = testAsinh-testAsinh.$(OBJEXT)
+testAsinh_OBJECTS = $(am_testAsinh_OBJECTS)
+testAsinh_DEPENDENCIES = $(top_builddir)/lib/libDoubleComplex.a \
+ $(top_builddir)/lib/libFloatComplex.a \
+ $(top_builddir)/lib/libAsinh.a
+testAsinh_LINK = $(CCLD) $(testAsinh_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)/includes@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/config/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libAsinh_a_SOURCES) $(testAsinh_SOURCES)
+DIST_SOURCES = $(libAsinh_a_SOURCES) $(testAsinh_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBMATH = @LIBMATH@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AM_CFLAGS = -I ../../type \
+ -I ../includes
+
+instdir = $(top_builddir)/lib
+inst_LIBRARIES = libAsinh.a
+noinst_LIBRARIES = libAsinh.a
+libAsinh_a_SOURCES = $(HEAD) $(SRC)
+SRC = sasinhs.c \
+ dasinhs.c \
+ casinhs.c \
+ zasinhs.c \
+ sasinha.c \
+ dasinha.c \
+ casinha.c \
+ zasinha.c
+
+HEAD = ../includes/asinh.h
+
+####
+# Checking Part
+####
+check_INCLUDES = -I $(top_builddir)/elementaryFunctions/includes \
+ -I $(top_builddir)/type
+
+
+#
+# -*- Hyperbolic ArcSine Tests -*-
+#
+testAsinh_SOURCES = testAsinh.c
+testAsinh_CFLAGS = $(check_INCLUDES)
+testAsinh_LDADD = $(top_builddir)/lib/libDoubleComplex.a \
+ $(top_builddir)/lib/libFloatComplex.a \
+ $(top_builddir)/lib/libAsinh.a \
+ @LIBMATH@
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign elementaryFunctions/asinh/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign elementaryFunctions/asinh/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-instLIBRARIES: $(inst_LIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(instdir)" || $(MKDIR_P) "$(DESTDIR)$(instdir)"
+ @list='$(inst_LIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(instLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(instdir)/$$f'"; \
+ $(instLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(instdir)/$$f"; \
+ else :; fi; \
+ done
+ @$(POST_INSTALL)
+ @list='$(inst_LIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ p=$(am__strip_dir) \
+ echo " $(RANLIB) '$(DESTDIR)$(instdir)/$$p'"; \
+ $(RANLIB) "$(DESTDIR)$(instdir)/$$p"; \
+ else :; fi; \
+ done
+
+uninstall-instLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(inst_LIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(instdir)/$$p'"; \
+ rm -f "$(DESTDIR)$(instdir)/$$p"; \
+ done
+
+clean-instLIBRARIES:
+ -test -z "$(inst_LIBRARIES)" || rm -f $(inst_LIBRARIES)
+
+clean-noinstLIBRARIES:
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
+libAsinh.a: $(libAsinh_a_OBJECTS) $(libAsinh_a_DEPENDENCIES)
+ -rm -f libAsinh.a
+ $(libAsinh_a_AR) libAsinh.a $(libAsinh_a_OBJECTS) $(libAsinh_a_LIBADD)
+ $(RANLIB) libAsinh.a
+
+clean-checkPROGRAMS:
+ -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
+testAsinh$(EXEEXT): $(testAsinh_OBJECTS) $(testAsinh_DEPENDENCIES)
+ @rm -f testAsinh$(EXEEXT)
+ $(testAsinh_LINK) $(testAsinh_OBJECTS) $(testAsinh_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/casinha.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/casinhs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dasinha.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dasinhs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sasinha.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sasinhs.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testAsinh-testAsinh.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zasinha.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zasinhs.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+testAsinh-testAsinh.o: testAsinh.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testAsinh_CFLAGS) $(CFLAGS) -MT testAsinh-testAsinh.o -MD -MP -MF $(DEPDIR)/testAsinh-testAsinh.Tpo -c -o testAsinh-testAsinh.o `test -f 'testAsinh.c' || echo '$(srcdir)/'`testAsinh.c
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testAsinh-testAsinh.Tpo $(DEPDIR)/testAsinh-testAsinh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testAsinh.c' object='testAsinh-testAsinh.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testAsinh_CFLAGS) $(CFLAGS) -c -o testAsinh-testAsinh.o `test -f 'testAsinh.c' || echo '$(srcdir)/'`testAsinh.c
+
+testAsinh-testAsinh.obj: testAsinh.c
+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testAsinh_CFLAGS) $(CFLAGS) -MT testAsinh-testAsinh.obj -MD -MP -MF $(DEPDIR)/testAsinh-testAsinh.Tpo -c -o testAsinh-testAsinh.obj `if test -f 'testAsinh.c'; then $(CYGPATH_W) 'testAsinh.c'; else $(CYGPATH_W) '$(srcdir)/testAsinh.c'; fi`
+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/testAsinh-testAsinh.Tpo $(DEPDIR)/testAsinh-testAsinh.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='testAsinh.c' object='testAsinh-testAsinh.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(testAsinh_CFLAGS) $(CFLAGS) -c -o testAsinh-testAsinh.obj `if test -f 'testAsinh.c'; then $(CYGPATH_W) 'testAsinh.c'; else $(CYGPATH_W) '$(srcdir)/testAsinh.c'; fi`
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+check-TESTS: $(TESTS)
+ @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
+ srcdir=$(srcdir); export srcdir; \
+ list=' $(TESTS) '; \
+ if test -n "$$list"; then \
+ for tst in $$list; do \
+ if test -f ./$$tst; then dir=./; \
+ elif test -f $$tst; then dir=; \
+ else dir="$(srcdir)/"; fi; \
+ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
+ all=`expr $$all + 1`; \
+ case " $(XFAIL_TESTS) " in \
+ *$$ws$$tst$$ws*) \
+ xpass=`expr $$xpass + 1`; \
+ failed=`expr $$failed + 1`; \
+ echo "XPASS: $$tst"; \
+ ;; \
+ *) \
+ echo "PASS: $$tst"; \
+ ;; \
+ esac; \
+ elif test $$? -ne 77; then \
+ all=`expr $$all + 1`; \
+ case " $(XFAIL_TESTS) " in \
+ *$$ws$$tst$$ws*) \
+ xfail=`expr $$xfail + 1`; \
+ echo "XFAIL: $$tst"; \
+ ;; \
+ *) \
+ failed=`expr $$failed + 1`; \
+ echo "FAIL: $$tst"; \
+ ;; \
+ esac; \
+ else \
+ skip=`expr $$skip + 1`; \
+ echo "SKIP: $$tst"; \
+ fi; \
+ done; \
+ if test "$$failed" -eq 0; then \
+ if test "$$xfail" -eq 0; then \
+ banner="All $$all tests passed"; \
+ else \
+ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
+ fi; \
+ else \
+ if test "$$xpass" -eq 0; then \
+ banner="$$failed of $$all tests failed"; \
+ else \
+ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
+ fi; \
+ fi; \
+ dashes="$$banner"; \
+ skipped=""; \
+ if test "$$skip" -ne 0; then \
+ skipped="($$skip tests were not run)"; \
+ test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
+ dashes="$$skipped"; \
+ fi; \
+ report=""; \
+ if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
+ report="Please report to $(PACKAGE_BUGREPORT)"; \
+ test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
+ dashes="$$report"; \
+ fi; \
+ dashes=`echo "$$dashes" | sed s/./=/g`; \
+ echo "$$dashes"; \
+ echo "$$banner"; \
+ test -z "$$skipped" || echo "$$skipped"; \
+ test -z "$$report" || echo "$$report"; \
+ echo "$$dashes"; \
+ test "$$failed" -eq 0; \
+ else :; fi
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
+ $(MAKE) $(AM_MAKEFLAGS) check-TESTS
+check: check-am
+all-am: Makefile $(LIBRARIES)
+installdirs:
+ for dir in "$(DESTDIR)$(instdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-checkPROGRAMS clean-generic clean-instLIBRARIES \
+ clean-noinstLIBRARIES mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-instLIBRARIES
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-instLIBRARIES
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
+ clean-checkPROGRAMS clean-generic clean-instLIBRARIES \
+ clean-noinstLIBRARIES ctags distclean distclean-compile \
+ distclean-generic distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-instLIBRARIES install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-instLIBRARIES
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/elementaryFunctions/asinh/casinha.c b/src/elementaryFunctions/asinh/casinha.c
new file mode 100644
index 00000000..f8a286fa
--- /dev/null
+++ b/src/elementaryFunctions/asinh/casinha.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** casinha.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:23:49 2007 jofret
+** Last update Thu Sep 6 11:23:09 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+void casinha(floatComplex* x, floatComplex* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = casinhs(x[i]);
+ }
+}
diff --git a/src/elementaryFunctions/asinh/casinhs.c b/src/elementaryFunctions/asinh/casinhs.c
new file mode 100644
index 00000000..c191de36
--- /dev/null
+++ b/src/elementaryFunctions/asinh/casinhs.c
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** casinhs.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 11:29:45 2007 jofret
+** Last update Thu Sep 6 11:23:00 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+floatComplex casinhs(floatComplex z) {
+ /* FIXME: Dummy... */
+ return z;
+}
diff --git a/src/elementaryFunctions/asinh/dasinha.c b/src/elementaryFunctions/asinh/dasinha.c
new file mode 100644
index 00000000..8c37ab77
--- /dev/null
+++ b/src/elementaryFunctions/asinh/dasinha.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** dasinha.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 11:29:20 2007 jofret
+** Last update Thu Sep 6 11:22:33 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+void dasinha(double* x, double* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = dasinhs(x[i]);
+ }
+}
diff --git a/src/elementaryFunctions/asinh/dasinhs.c b/src/elementaryFunctions/asinh/dasinhs.c
new file mode 100644
index 00000000..1d55e721
--- /dev/null
+++ b/src/elementaryFunctions/asinh/dasinhs.c
@@ -0,0 +1,19 @@
+/*
+** -*- C -*-
+**
+** dasinhs.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:26:21 2007 jofret
+** Last update Thu Sep 6 11:21:22 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+
+#include <math.h>
+#include "asinh.h"
+
+double dasinhs(double x) {
+ return (asinh(x));
+}
diff --git a/src/elementaryFunctions/asinh/sasinha.c b/src/elementaryFunctions/asinh/sasinha.c
new file mode 100644
index 00000000..65a1e9db
--- /dev/null
+++ b/src/elementaryFunctions/asinh/sasinha.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** sasinha.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:25:57 2007 jofret
+** Last update Thu Sep 6 11:21:13 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+void sasinha(float* x, float* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = sasinhs(x[i]);
+ }
+}
diff --git a/src/elementaryFunctions/asinh/sasinhs.c b/src/elementaryFunctions/asinh/sasinhs.c
new file mode 100644
index 00000000..03a5d690
--- /dev/null
+++ b/src/elementaryFunctions/asinh/sasinhs.c
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** sasinhs.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:25:44 2007 jofret
+** Last update Thu Sep 6 11:21:04 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include <math.h>
+#include "asinh.h"
+
+float sasinhs(float x) {
+ return (asinh(x));
+}
diff --git a/src/elementaryFunctions/asinh/testAsinh.c b/src/elementaryFunctions/asinh/testAsinh.c
new file mode 100644
index 00000000..daefffc6
--- /dev/null
+++ b/src/elementaryFunctions/asinh/testAsinh.c
@@ -0,0 +1,150 @@
+/*
+** -*- C -*-
+**
+** testAsinh.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Dec 8 15:05:44 2006 jofret
+** Last update Thu Sep 6 11:20:54 2007 bruno
+**
+** Copyright INRIA 2006
+*/
+
+#include "testAsinh.h"
+
+void sasinhsTest(void) {
+ printf(">> Float scalar\n");
+ printf("sasinhs(0) = %f\n", sasinhs((float) 0));
+ printf("sasinhs(PI) = %f\n", sasinhs(PI));
+ printf("sasinhs(PI/2) = %f\n", sasinhs(PI/2));
+ printf("sasinhs(PI/3) = %f\n", sasinhs(PI/3));
+ printf("sasinhs(PI/4) = %f\n", sasinhs(PI/4));
+ printf("sasinhs(PI/6) = %f\n", sasinhs(PI/6));
+ printf("sasinhs(-PI) = %f\n", sasinhs(-PI));
+ printf("sasinhs(-PI/2) = %f\n", sasinhs(-PI/2));
+ printf("sasinhs(-PI/3) = %f\n", sasinhs(-PI/3));
+ printf("sasinhs(-PI/4) = %f\n", sasinhs(-PI/4));
+ printf("sasinhs(-PI/6) = %f\n", sasinhs(-PI/6));
+}
+
+void dasinhsTest(void) {
+ printf(">> Double scalar\n");
+ printf("dasinhs(0) = %e\n", dasinhs((double) 0));
+ printf("dasinhs(PI) = %e\n", dasinhs(PI));
+ printf("dasinhs(PI/2) = %e\n", dasinhs(PI/2));
+ printf("dasinhs(PI/3) = %e\n", dasinhs(PI/3));
+ printf("dasinhs(PI/4) = %e\n", dasinhs(PI/4));
+ printf("dasinhs(PI/6) = %e\n", dasinhs(PI/6));
+ printf("dasinhs(-PI) = %e\n", dasinhs(-PI));
+ printf("dasinhs(-PI/2) = %e\n", dasinhs(-PI/2));
+ printf("dasinhs(-PI/3) = %e\n", dasinhs(-PI/3));
+ printf("dasinhs(-PI/4) = %e\n", dasinhs(-PI/4));
+ printf("dasinhs(-PI/6) = %e\n", dasinhs(-PI/6));
+}
+
+void casinhsTest(void) {
+ floatComplex pi_pi = FloatComplex(PI, PI);
+ floatComplex pi_2_pi_2 = FloatComplex(PI/2, PI/2);
+ floatComplex pi_2_pi_3 = FloatComplex(PI/2, PI/3);
+ floatComplex pi_2_pi_4 = FloatComplex(PI/2, PI/4);
+ floatComplex out;
+
+ printf(">> Float Complex scalar\n");
+ out = casinhs(pi_pi);
+ printf("casinhs(PI + I*PI) = %f + I * %f\n", creals(out), cimags(out));
+ out = casinhs(pi_2_pi_2);
+ printf("casinhs(PI/2 + I*PI/2) = %f + I * %f\n", creals(out), cimags(out));
+ out = casinhs(pi_2_pi_3);
+ printf("casinhs(PI/2 + I*PI/3) = %f + I * %f\n", creals(out), cimags(out));
+ out = casinhs(pi_2_pi_4);
+ printf("casinhs(PI/2 + I*PI/4) = %f + I * %f\n", creals(out), cimags(out));
+}
+
+void zasinhsTest(void) {
+ doubleComplex pi_pi = DoubleComplex(PI, PI);
+ doubleComplex pi_2_pi_2 = DoubleComplex(PI/2, PI/2);
+ doubleComplex pi_2_pi_3 = DoubleComplex(PI/2, PI/3);
+ doubleComplex pi_2_pi_4 = DoubleComplex(PI/2, PI/4);
+ doubleComplex out;
+
+ printf(">> Double Complex scalar\n");
+ out = zasinhs(pi_pi);
+ printf("zasinhs(PI + I*PI) = %e + I * %e\n", zreals(out), zimags(out));
+ out = zasinhs(pi_2_pi_2);
+ printf("zasinhs(PI/2 + I*PI/2) = %e + I * %e\n", zreals(out), zimags(out));
+ out = zasinhs(pi_2_pi_3);
+ printf("zasinhs(PI/2 + I*PI/3) = %e + I * %e\n", zreals(out), zimags(out));
+ out = zasinhs(pi_2_pi_4);
+ printf("zasinhs(PI/2 + I*PI/4) = %e + I * %e\n", zreals(out), zimags(out));
+}
+
+void sasinhaTest(void) {
+ float out[5];
+ float in[5] = {PI, PI/2, PI/3, PI/4, PI/6};
+ int i = 0;
+
+ printf(">> Float array\n");
+ sasinha(in, out, 5);
+ for (i = 0 ; i < 5 ; ++i)
+ printf("sasinha(array) = %f\n", out[i]);
+}
+
+void dasinhaTest(void) {
+ double out[5];
+ double in[5] = {PI, PI/2, PI/3, PI/4, PI/6};
+ int i = 0;
+
+ printf(">> Double Array\n");
+ dasinha(in, out, 5);
+ for (i = 0 ; i < 5 ; ++i)
+ printf("sasinha(array) = %f\n", out[i]);
+
+}
+
+void casinhaTest(void) {
+ floatComplex pi_pi = FloatComplex(PI, PI);
+ floatComplex pi_2_pi_2 = FloatComplex(PI/2, PI/2);
+ floatComplex pi_2_pi_3 = FloatComplex(PI/2, PI/3);
+ floatComplex pi_2_pi_4 = FloatComplex(PI/2, PI/4);
+ floatComplex in[4] = {pi_pi, pi_2_pi_2, pi_2_pi_3, pi_2_pi_4};
+ floatComplex out[4];
+ int i = 0;
+
+ casinha(in, out, 4);
+ printf(">> Float Complex Array\n");
+ for (i = 0 ; i < 4 ; ++i)
+ printf("casinha(array) = %e + I * %e\n", creals(out[i]), cimags(out[i]));
+}
+
+void zasinhaTest(void) {
+ doubleComplex pi_pi = DoubleComplex(PI, PI);
+ doubleComplex pi_2_pi_2 = DoubleComplex(PI/2, PI/2);
+ doubleComplex pi_2_pi_3 = DoubleComplex(PI/2, PI/3);
+ doubleComplex pi_2_pi_4 = DoubleComplex(PI/2, PI/4);
+ doubleComplex in[4] = {pi_pi, pi_2_pi_2, pi_2_pi_3, pi_2_pi_4 };
+ doubleComplex out[4];
+ int i = 0;
+
+ zasinha(in, out, 4);
+ printf(">> Double Complex Array\n");
+ for (i = 0 ; i < 4 ; ++i)
+ printf("zasinha(array) = %e + I * %e\n", zreals(out[i]), zimags(out[i]));
+}
+
+int testAsinh(void) {
+ printf("\n>>>> ArcSinhe Tests\n");
+ sasinhsTest();
+ dasinhsTest();
+ casinhsTest();
+ zasinhsTest();
+ sasinhaTest();
+ dasinhaTest();
+ casinhaTest();
+ zasinhaTest();
+ return 0;
+}
+
+int main(void) {
+ assert(testAsinh() == 0);
+ return 0;
+}
diff --git a/src/elementaryFunctions/asinh/testAsinh.h b/src/elementaryFunctions/asinh/testAsinh.h
new file mode 100644
index 00000000..3ca2018a
--- /dev/null
+++ b/src/elementaryFunctions/asinh/testAsinh.h
@@ -0,0 +1,40 @@
+/*
+** -*- C -*-
+**
+** testAsinh.h
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Mon Mar 26 16:33:11 2007 jofret
+** Last update Thu Sep 6 11:20:20 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#ifndef _TESTASINH_H_
+#define _TESTASINH_H_
+
+#include <stdio.h>
+#include <assert.h>
+#include "asinh.h"
+#include "constant.h"
+
+
+void sasinhsTest(void);
+
+void dasinhsTest(void);
+
+void casinhsTest(void);
+
+void zasinhsTest(void);
+
+void sasinhaTest(void);
+
+void dasinhaTest(void);
+
+void casinhaTest(void);
+
+void zasinhaTest(void);
+
+int testAsinh(void);
+
+#endif /* ! _TESTASINH_H_ */
diff --git a/src/elementaryFunctions/asinh/zasinha.c b/src/elementaryFunctions/asinh/zasinha.c
new file mode 100644
index 00000000..9ac20b54
--- /dev/null
+++ b/src/elementaryFunctions/asinh/zasinha.c
@@ -0,0 +1,20 @@
+/*
+** -*- C -*-
+**
+** zasinha.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:25:14 2007 jofret
+** Last update Thu Sep 6 11:20:42 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+void zasinha(doubleComplex* x, doubleComplex* y, int size) {
+ int i = 0;
+ for (i = 0; i < size; ++i) {
+ y[i] = zasinhs(x[i]);
+ }
+}
diff --git a/src/elementaryFunctions/asinh/zasinhs.c b/src/elementaryFunctions/asinh/zasinhs.c
new file mode 100644
index 00000000..d55932ce
--- /dev/null
+++ b/src/elementaryFunctions/asinh/zasinhs.c
@@ -0,0 +1,18 @@
+/*
+** -*- C -*-
+**
+** zasinhs.c
+** Made by Bruno JOFRET <bruno.jofret@inria.fr>
+**
+** Started on Fri Jan 5 10:24:38 2007 jofret
+** Last update Thu Sep 6 11:20:31 2007 bruno
+**
+** Copyright INRIA 2007
+*/
+
+#include "asinh.h"
+
+doubleComplex zasinhs(doubleComplex z) {
+ /* FIXME: Dummy... */
+ return (DoubleComplex(0,1));
+}