Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

HYPOT(3M)

��������
hypot, hypotf, cabs, cabsf - �������, ����������� ��������� ����������

���������

	#include <math.h>
	
	double hypot (x, y)
	double x, y;
	
	float
	hypotf(float x, float y)
	
	struct {double x, y;} z;
	
	double
	cabs(z)
	
	struct {float x, y;} z;
	
	float
	cabsf(z)

��������
������� hypot ���������� ��������

	sqrt (x*x + y*y)
������� ����������� �� ������, ������������ "����������" ������������.

��. �����
matherr(3M).

�����������
���� � ������������ �������� ������� ������������� ����������� ��������������� ��������, �� ������� hypot ���������� �������� HUGE [��. intro(3)], � ������� ���������� errno ������������� �������� ERANGE.

���������� ��������� ��������� ������ ����� ���� �������� ����������� ������� matherr(3M)
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT