PCD
abs( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
value = abs( x )
x is a signed 8, 16, or 32 bit int or a float
Same type as the parameter.
Computes the absolute value of a number.
All devices
#INCLUDE <stdlib.h>
signed int target,actual;
...
error = abs(target-actual);
Example Files: None
Also See:
labs()
sin( ) cos( ) tan( ) asin( ) acos() atan() sinh() cosh() tanh() atan2()
Syntax:
val = sin ( rad )
val = cos ( rad )
val = tan ( rad )
rad = asin ( val )
rad1 = acos ( val )
rad = atan ( val )
rad2=atan2( val , val )
result=sinh( value )
result=cosh( value )
result=tanh( value )
Parameters: rad is a float representing an angle in Radians -2pi to 2pi.
val is a float with the range -1.0 to 1.0.
Value is a float
Returns:
rad is a float representing an angle in Radians -pi/2 to pi/2
val is a float with the range -1.0 to 1.0.
rad1 is a float representing an angle in Radians 0 to pi
rad2 is a float representing an angle in Radians -pi to pi
146
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY