Displaying 4 results from an estimated 4 matches for "1e308".
Did you mean:
1308
2007 Oct 13
2
the use of the .C function
...ction for real arguments.
// Algorithms and coefficient values from "Computation of Special
// Functions", Zhang and Jin, John Wiley and Sons, 1996.
//
// (C) 2003, C. Bond. All rights reserved.
//
// Returns psi function for real argument 'x'.
// NOTE: Returns 1e308 for argument 0 or a negative integer.
//
#include <iostream.h> // or <stdio.h>?
#include <math.h>
#define el 0.5772156649015329
double psi(double x)
{
double s,ps,xa,x2;
int n,k;
static double a[] = {
-0.8333333333333e-01,
0.83333333333333...
1999 Mar 06
0
bessel_?.c constants
...discovered that there are
two sets of "machine constants" in bessel_l.c and bessel_j.c which have
different values:
bessel_i.c: static double ensig = 1e16;
bessel_i.c: static double rtnsig = 1e-4;
bessel_i.c: static double enmten = 8.9e-308;
bessel_i.c: static double enten = 1e308;
bessel_j.c: static double ensig = 1e17;
bessel_j.c: static double rtnsig = 1e-4;
bessel_j.c: static double enmten = 1.2e-37;
bessel_j.c: static double enten = 1e38;
According to the comments heading the files, the first set is correct for
IEEE Double-Precision hardware (the comments...
1999 Mar 06
1
bessel_?.c constants (fwd)
...discovered that there are
two sets of "machine constants" in bessel_l.c and bessel_j.c which have
different values:
bessel_i.c: static double ensig = 1e16;
bessel_i.c: static double rtnsig = 1e-4;
bessel_i.c: static double enmten = 8.9e-308;
bessel_i.c: static double enten = 1e308;
bessel_j.c: static double ensig = 1e17;
bessel_j.c: static double rtnsig = 1e-4;
bessel_j.c: static double enmten = 1.2e-37;
bessel_j.c: static double enten = 1e38;
According to the comments heading the files, the first set is correct for
IEEE Double-Precision hardware (the comments...
2010 Jul 27
3
Right digits of a floating number
Hi all,
I am dealing with very large numbers but I am only interested in their last
digits.
> 244^244
[1] Inf
As far as I can tell, the largest number R can take has 308 digits (1+E308).
Is there a way I could see the last digits only of 244^244?
Many thanks for your help.
Vincent Deluard, CFA.
--
View this message in context: