代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
pi.l
# 14aug05abu
# (c) Software Lab. Alexander Burger
##############################
# Iterative calculation of PI:
# S = 0
# P = 2
# Loop
# S = sqrt(S+2)
# P = 2*P/S
#########################
pi.cpp
#include
#include
using namespace std;
/*main information*/
void info()
{
cout
pi.inc
;;------------------ ASM30 API for PI routines ---------------------
; PIParm stucture:
;
.equ PI_qdSumL,0
.equ PI_qdSumH,2
.equ PI_qKp,4
.equ PI_q
pi.h
#ifndef PI_H
#define PI_H
//------------------ C API for PI routines ---------------------
typedef struct {
long qdSum; // 1.31 format
short qKp;
short qKi;
s
pi.s
/**********************************************************************
* *
* Software License Agreement
pi.inc
; ******************************************************************************
;
pi.h
#ifndef PI_H
#define PI_H
/**********************************************************************
*