isqrt.h File Reference

整数型の sqrt() More...

#include "cpp_extern_macro.h"

Include dependency graph for isqrt.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long isqrt (unsigned long i)

Variables

 BEGIN_C_DECLS
 END_C_DECLS


Detailed Description

整数型の sqrt()

http://www.infoeddy.ne.jp/~tensyo/prog/ALGO.HTM#STEPMT より

Author:
Satofumi KAMIMURA
$Id$

Definition in file isqrt.h.


Function Documentation

unsigned long isqrt ( unsigned long  i  ) 

整数型の平方根を計算する

Parameters:
x [i] 正の整数
Return values:
int 平方根の負でない値
Attention:
多少の誤差あり

Definition at line 21 of file isqrt.c.


Generated on Mon Apr 13 22:52:06 2009 by  doxygen 1.5.7.1