⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ld

📁 Algorithms for Image Processing and Computer Vision Source Code
💻
字号:
@c ----------------------------------------------------------------------
@node ldexp, math
@heading @code{ldexp}
@subheading Syntax

@example
#include <math.h>

double ldexp(double val, int exp);
@end example

@subheading Return Value

This function returns @var{val} * 2 ** @var{exp}.

@subheading Example

@example
ldexp(3.5,4) == 3.5 * 16 == 56.0
@end example

@c ----------------------------------------------------------------------
@node ldiv, math
@heading @code{ldiv}
@subheading Syntax

@example
#include <stdlib.h>

ldiv_t ldiv(long numerator, long denomonator);
@end example

@subheading Description

Returns the quotient and remainder of the division @var{numberator}
divided by @var{denomonator}.  The return type is as follows:

@example
typedef struct @{
  long quot;
  long rem;
@} ldiv_t;
@end example

@subheading Return Value

The results of the division are returned.

@subheading Example

@example
ldiv_t l = div(42, 3);
printf("42 = %ld x 3 + %ld\n", l.quot, l.rem);
@end example

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -