Talk:Dc (computer program)

This is an old revision of this page, as edited by Autopilot (talk | contribs) at 22:44, 15 May 2010 (Response). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 15 years ago by Autopilot in topic Explanation

I have been unable to find any libraries of functions for 'dc' (e.g., log, sin, etc). If someone finds some, please add external links.

Wouldn't it be better to use an example that actually works? Because when I type
12 3 4 ^ + _11 / v 22 -
I get
dc: square root of negative number

Explanation

Can someone explain how the following works?
[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq

It encodes the email address in the hex constant n=0x572CCB9AE9DB03273 and operates on it with the macro b defined as [ln0=aln80~Psnlbx]. This recursively calls itself until n is equal to zero. -- Autopilot (talk) 22:44, 15 May 2010 (UTC)Reply

Original implementation language?

The current text says:

"It is one of the oldest Unix utilities, predating even the invention of the C programming language"

I believe that this is slightly incomplete. Wouldn't it be better to specify the original implementation language, rather than giving a hint at which one it is not? --Blazar.writeto() 14:39, 2 August 2008 (UTC)Reply