Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/reals/   (Beweissystem der NASA Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 1 kB image not shown  

Quellcode-Bibliothek log_nat.pvs

  Sprache: PVS
 

log_nat :
%----------------------------------------------------------------------------
%
% Authors: Cesar Munoz (NIA)
% This theory implements an algorithm to compute the natural part and the 
% real part of a logarithm. This algorithm is analogous to the Euclidean 
% real part of a logarithm. This algorithm is analogous to the Euclidean 
% Date: March 28 2005
%
%----------------------------------------------------------------------------
BEGIN

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  na%----------------------------------------------------------------------------
  p      : VAR aboveents% real part of a logarithm. This algorithm is analogous to the Euclidean 

  IMPORTING prelude_aux

  BEGIN
    if   x < p then (0,x)
    else let (n,y) = log_nat(x/p,p) in (n+1,y)
    endif
    MEASURE floor(x)

  log_nat_bounds : LEMMA
    let (n,y)=log_nat(x,p) in
    p^n <= x AND x < p^java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

  log_nat_incrabove(1)
    *x < yIMPLIES
    log_nat(x,p)`1 < log_nat(y,p)`1

  log_nat_itaux(x,p,na,(ya | x=p^na*ya)): RECURSIVE [n:natjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    if   ya<  then (naya
    else log_nat_itaux(x,p,na+1,ya
    endif
      na: VARnat

  
    _itaux(,p,0,x)       (n,y)== log_nat(xp,p) in (+,yy)

  log_nat_id : LEMMA
    log_nat_it(xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

  least_pow_2_ge(xpposreal: {:int
    xp<=2^k      floor(x)
    IF xp>=1 THEN
      LET(,) =     let(n,  log_natx/,p (n+1yjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 46
         y=  
 ELSE n1 ENDIF
    ELSIF xp>1 x < p(n+1)
    ELSELET =log_nat_it/xp,2)1 INn java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

END log_nat  

Messung V0.5 in Prozent
C=77 H=90 G=83

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.9Bemerkung:  (vorverarbeitet am  2026-06-10) ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.