代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
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
;*******************************************************************
; PI
;
;Description: Calculate PI correction.
;
;void CalcPI( tPIParm *pParm)
;{
; Err = InRef - InMeas
; U = Su
pi.hpp~
// Pi implementation -*- C++ -*-
// Copyright (C) 2005 Ben T. Bear
//
// This file is part of the BTB's Template Library. This
// library is free software; you can redistribute it and/or mo
pi.cpp
#include "../fnconst.hpp"
#include
#include
using namespace std;
int main()
{
printf ("%1.15lf\n", btil::fn::pi::f_val);
printf ("%1.15lf\n", btil::fn::e::f_val);
printf ("%
pi.cpp~
#include "../fnconst.hpp"
#include
#include
using namespace std;
int main()
{
printf ("%1.17lf\n", btil::fn::pi::f_val);
printf ("%1.17lf\n", btil::fn::e::f_val);
// system
pi.c
/*
** PI.C - Computes Pi to an arbitrary number of digits
**
** Uses far arrays so may be compiled in any memory model
*/
#include
#include
#if defined(__ZTC__)
#incl
pi.java
package com.prefect.pi;
import java.net.*;
import java.rmi.*;
import java.rmi.registry.*;
import java.rmi.server.*;
public class Pi extends UnicastRemoteObject
implements PiRemote {