~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to routines/scicos/atanh_blk.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "scicos_block.h"
 
2
#include <math.h>
 
3
 
 
4
#if WIN32
 
5
extern double asinh(double x);
 
6
extern double acosh(double x);
 
7
extern double atanh(double x);
 
8
#endif
 
9
 
 
10
void atanh_blk(scicos_block *block,int flag)
 
11
{
 
12
  int j;
 
13
  if(flag==1){
 
14
    for (j=0;j<block->insz[0];j++) {
 
15
      block->outptr[0][j]=atanh(block->inptr[0][j]);
 
16
    }
 
17
  }
 
18
}