File: math.c

package info (click to toggle)
troffcvt 1.04%2Brepack1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,416 kB
  • sloc: ansic: 13,110; makefile: 6,847; perl: 1,583; cpp: 333; sh: 215
file content (34 lines) | stat: -rw-r--r-- 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
	math.c - stuff to compensate for silliness about where math
	routines are declared.
*/

# include	<stdio.h>
# if defined(__STDC_) || defined(THINK_C)	/* for atoi()/atol()/atof() */
# include	<stdlib.h>
# else
# include	<math.h>
# endif

# include	"troffcvt.h"


double Atof (s)
char	*s;
{
	return (atof (s));
}


long Atol (s)
char	*s;
{
	return (atol (s));
}


int Atoi (s)
char	*s;
{
	return (atoi (s));
}