Displaying 3 results from an estimated 3 matches for "9e20".
Did you mean:
920
2010 Apr 13
5
Completely in despair - Xen and Windows domU
Hello!
I am using xen some years now and it just runs without any problems. But now one customer needs a stupid WinXP domU and I am trying to get this running for about two weeks...
I am using 2.6.26-2-xen-amd64 kernel, set up a dummy network
auto dummy0
allow-hotplog dummy0
iface dummy0 inet static
address 10.0.0.1
netmask 255.255.255.0
broadcast 10.0.0.255
xend-config:
(network-script
2001 Jan 17
0
bitrate scaling by freq / quality bug ? / comments
...should add some comments to these values, becasue in a few
years nobody will know how did you get (calculate) these numbers...
(in scales.h, mdct.h, smallft.c)
Examples:
// 8.68588963806503678 = 20*log10(2.0)/log(2.0)
// 0.115129254649702278 = 1.0/8.68588963806503678
#define todB(x) (((x)==0.)? -9e20:log(fabs(x))*8.68588963806503678f)
#define todB_nn(x) (((x)==0.)? -400:log(x)*8.68588963806503678f)
#define fromdB(x) (exp((x)*0.115129254649702278f))
// 0.69314718055994529 = log(2.0)
// 1.44269504088896339 = 1.0/log(2.0)
// 6.96578428466208699 = log(125.0)*1.0/log(2.0)
#define toOC(f) (log(f)*...
2011 Jul 02
5
%dopar% parallel processing experiment
...100000
randvalues <- abs(rnorm(A))
minfn <- function( x, i ) { log(abs(x))+x^3+i/A+randvalues[i] } ?## an
arbitrary function
ARGV <- commandArgs(trailingOnly=TRUE)
if (ARGV[1] == "do-onecore") {
?library(foreach)
?discard <- foreach(i = 1:A) %do% uniroot( minfn, c(1e-20,9e20), i ) } else
if (ARGV[1] == "do-multicore") {
?library(doMC)
?registerDoMC()
?cat("You have", getDoParWorkers(), "cores\n")
?discard <- foreach(i = 1:A) %dopar% uniroot( minfn, c(1e-20,9e20), i ) } else
if (ARGV[1] == "plain")
?for (i in 1:A) dis...