Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
The hex value is 1679EDDF2CFD1455
I am expecting the decimal equivalent to be
1.619587084 X 10 ^ 18
If possible, could someone please confirm this, and if possible I would love more significant digits to the decimal value.
Thank you in advance.
Using python:
>>> 0x1679EDDF2CFD1455
1619587083804677205
Windows calculator says it's 1,619,587,083,804,677,205
For completeness, here's what Ruby says:
jfpoole#brakhage:~$ irb
>> 0x1679EDDF2CFD1455
=> 1619587083804677205
Since everyone's doing it, I'll throw in the bc version. :P
$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase=16
1679EDDF2CFD1455
1619587083804677205
$ dc <<< '16i1679EDDF2CFD1455p'
1619587083804677205
$
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 months ago.
Improve this question
I'm asking if I need to import some kind of library to perform something like that
echo "cos(1)" | bc
and use BLAS and trigonometric functions in general.
Load the math library with bc -l; the cosine function is named c in this library:
echo "c(1)" | bc -l
This library only supports sine, cosine, artangent, the natural logarithm, the exponential function, and (strangely enough) the n-th order Bessel function.
This site may offer an extended library (with code available). Quite interesting.
http://phodd.net/gnu-bc/
If someone knows similar libraries please share them.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've never seen this notation for complexity: Õ(n).
It comes up in the context of learning in stochastic algorithms.
Anyone know this notation? You can't exactly google this...
EDIT: SOLVED
I think people have pointed out the right answer below. In my case Õ() is used to hide an exponential growth of a tree.
It is shorthand for O(g(n) log^k g(n))
Actually, you can google this!
It is a variant of big-O that ignores logarithmic factors. See this wikipedia entry, which I found simply by googling that character and looking at the top entry.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
in model casio fx-82ms i must do some scientific calculations with logaritm functions but the calculator calculates all problem base of ten(10) but i need base of two.
anyone can help me?
Always remember, you may use the natural logarithm to solve for any base: i.e., for any arbitrary base b, the logarithm of x to the base b is: ln(x)/ln(b)
/Try it!
Convert between bases:
http://www.equationsheet.com/eqninfo/Equation-0043.html
You can convert a log of x in base a to log of x in base b, divide by the log of a in base b.
This could be better answered on the math site, but is easy enough to just answer here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I'm redirecting console output to a file, and getting [?25h and [?25l mixed in with my regular output. I've looked online and apparently they are the sequence characters for cnorm and civis, whatever those are. Is there any way to suppress these in the output?
One thing you might try is to set the TERM environment variable to something
that doesn't support those features, for example with a Bash command like this:
env TERM=dumb yourcmd > yourfile
(Where yourcmd is the program whose output you'd like to redirect to output file yourfile)
For other shells, you might have to do something more like
setenv TERM dumb
yourcmd > yourfile
I ended up piping through sed. Jim's info is still very helpful, though. I used this command:
sed 's/\[?25[hl]//'
Incidentally, it catches [?25h and [?25l, but not when they're in succession ([?25h[?25l). Any suggestions for that?
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm setting up an old wireless router for a friend which uses WEP (Yeah, very old, not actually very secure, but enough to keep the non-technical people in her apartment complex from sucking bandwidth) and I need to have a 10 digit hexadecimal key as the password.
So the question is, what english words can be made using the hexadecimal character set:
1 2 3 4 5 6 7 8 9 0 A B C D E F
BEEF is an example. I think that leet character would be allowed as well, So the number 0 could be used for the letter o. This lets you make the word BEA7.
Java CAFEBABE, COFEEBABE or DEADBEEF for instance. You might like to check HexWords or Ned Batchelder Hex Words for a lot more examples.