Bugs happen, but most people don’t like to admit it.

If you see any unexpected behavior, leave a note on this page or email me. It’s most helpful if you can include a link to the calculation that caused the problem (use the InstaCalc permalink!), which makes it much easier to diagnose and fix.

And thanks for taking the time to make InstaCalc better!

27 Responses to “Bugs? What bugs?”

  1. Robert Says:

    http://instacalc.com/?d=QnVnLg&c=c2ludXMgPSBzaW4oMS41NzA3OTYzMykgLy8gZG9lc24ndCB3b3JrfHNpX3VzID0gc2luKDEuNTcwNzk2MzMpIC8vIHdvcmtzfHxiaW5hcnkgPSBiaW4oOTApIC8vIGRvZXNuJ3Qgd29ya3xpbmFyeSA9IGJpbig5MCkgLy8gd29ya3N8Ly8gdmFyaWFibGVuYW1lIGJyb2tlbiBpZiB0aGVyZSBpcyBhIGZ1bmN0aW9uIG5hbWUgaW4gaXQ-fGJpbmFyeSA9IDEyMyAvLyBidXQgb25seSBpZiB0aGUgZnVuY3Rpb24gd2hvc2UgbmFtZSBpcyBpbiB0aGUgdmFyaWFibGUgbmFtZSBpcyB1c2VkLCBpdCBpcyBicm9rZW4&s=sssssss&v=0.6

    Also, it would be nice if I was able to type “pi” and it would actually calculate pi.

  2. kalid Says:

    Hi Robert, I appreciate the feedback!

    1) I’ve fixed the function/variable naming issue you mentioned. If you try the link again it should work. You may have to press ctrl+refresh to reload the cache.

    2) Actually, “PI” (capital letters) was available as a constant, but the lowercase was not. I’ve added lowercase “pi” in :)

    By the way, E (2.718…) is only available as a capital letter; I think the lower-case “e” has a much higher chance of colliding with a variable a typical user may define.

    Thanks again for the feedback!

  3. ray Says:

    Hi Kalid,

    Super job!

    Bug?
    Try: 100+10%-10%
    Result in InstaCalc: 109.9 !!
    (should be “99″ not “109.9″, right?…)

    Ray

  4. ray Says:

    UPDATE TO % BUG:

    Hi Kalid!
    Better way to reproduce the bug f/my prev post.
    It works OK, UNLESS formula is entered
    after adding +rows….

    See Row R27 in TinyURL:
    —> http://tinyurl.com/yb5whm (“Namespaces” example)

    I simply clicked on “Add +5 more rows” link,
    and then added the formula: 100+10%-10%

    InstaCalc red result (as you can see in R27) is: “109.9″.
    I believe it should be: “99″…
    Either that, or I’ve been hitting the bottle again… :-)

    Ray

  5. kalid Says:

    Thanks Ray! Yes, there was a bug in the previous version (v0.6) where only the first % was doing addition, the second % was being treated as “.10″.

    Currently, each version is separate so the behavior stays exactly as the creator saw it (I don’t want to break old links if there is new syntax).

    However, if you try “100 + 10% – 10%” on the current site (v0.8) it works :)

    Thanks for your help!

  6. Martin Says:

    Hy, I really love this idea but:

    “15 mpg in km/liter” works, but nobody cares because non-americans want to know:
    “15 mpg in liter/100km”…
    It would be great if this worked to!

    Thanks a lot!

  7. kalid Says:

    Hi Martin, I’ve added inverted and scaled conversions, so now you can do what you describe!

    More details:

    http://instacalc.com/blog/currency-conversions-and-flexible-units

  8. Rowel Says:

    I’ve bookmarked your site and have used it frequently. I’m wondering if your planning to come up with something similar for mobile phones (without going online, that is)?

  9. Kalid Says:

    Hi Rowal, thanks for the comment. I hadn’t considered an offline mobile version yet, but am developing various gadgets so it could be on the horizon. Appreciate the feedback.

  10. R Says:

    See the link… and thanks for your beatiful work.
    http://instacalc.com/?d=&c=MjA5NzE1MjAwMCAqIDJ8MTMyODYwNTk1M3xyMStyMnw1LDUyMiw5MDksOTUzIGJ5dGUgaW4gZ2J8cjErcjIgYnl0ZSBpbiBnYiAvLyAtLSBzaG91bGQgYmUgYXMgYWJvdmU-fHw&s=sssssss&v=0.9

  11. kalid Says:

    Thanks for the feedback. Currently you have to put parens before the conversion (see below):

    http://instacalc.com/?d=&c=MjA5NzE1MjAwMCAqIDJ8MTMyODYwNTk1M3xyMStyMnw1LDUyMiw5MDksOTUzIGJ5dGUgaW4gZ2J8cjErcjIgYnl0ZSBpbiBnYiAvLyAtLSBzaG91bGQgYmUgYXMgYWJvdmU-fChyMSArIHIyKSBieXRlIGluIGdiIC8vICh3aXRoIHBhcmVucyl8&s=sssssss&v=0.9

    This is behavior I’d like to change, appreciate the comment.

  12. David Says:

    Hi,

    Really great idea, and a really interesting blog!

    I am trying to work with radians

    Please, try sin(pi rad). The result returned is undefined. Is it a bug or am I doing something wrong?

    Thanks a lot!

  13. PR Says:

    Your trig valuea are all messed up.

    One small example:

    cos(pi/2) should be zero. Not 0.99962421686 lol

  14. kalid Says:

    Hi, the trig values are actually in degrees by default, not radians. So cos(pi/2) is about cos(3.14/2) ~ cos(1.5) which is close to 1.

    If you want radians, you can write:

    cos(pi/2 rad)

  15. Maniac Says:

    When clicking on the xor button in the beta it inserts not, and when clicking the not button it inserts xor.

  16. kazar Says:

    From an old biz analyst, not a programmer, so can only make end-user-ish observations, can’t help w/code debugging (sorry):

    PROBLEM IN CODE IN EMBEDDED SALARY-TO-WAGE INSTACALC EXAMPLE ON TOUR PAGE:

    Add a $ before the 50K and the result is nullified. But … on the home page if I type “salary = $50K” in a row, the result is accurate (“50,000.00″).

    Similarly, if I type a $ in front of the word salary in the row5 calc on the Tour page, it nullifies the result, whereas if I recreate the salary-to-wage rows on the home page of the site and use “$salary” rather than “salary” in Row5, the result is returned properly in decimal notation.

    This is probably just a matter of different InstaCalc versions on the 2 pages?

  17. Gianluca Says:

    Hello,

    I’m using your gadget for Vista. Nice software both gadget and web application!!
    Found a innocuous bug: as you can see from the jpg I linked, there is the possibility to right scroll the gadget, just click and drag.

    Why there is that empty black space under the text field? Space in the side bar is precious! :)

    Thank you
    Gianluca

  18. Dan Vokt Says:

    Why does the USD to EUR conversion NOT work in this embedded code:

    instacalc_embed_height = 300; instacalc_embed_width = 425; instacalc_embed_url = ‘http://instacalc.com/embed/?d=&c=MTEgaW5jaGVzIHRvIGNtfDE1NSBsYnMgaW4ga2d8MTAwIFVTRCBpbiBFVVJ8MjAgbXBoIGluIG1ldGVycy9zZWM&s=ssss&v=0.9';

    calculation powered by InstaCalc Online Calculator

    Thanks,

    Dan Vokt

    P.S. I put the above in a local file and not on a website. Is that a problem?

  19. Dan Vokt Says:

    Sorry, my first comment seems to have needed a bit of HTML encoding to get through. Here is an second attempt to show the embedded code:

    <script>instacalc_embed_height = 300; instacalc_embed_width = 425; instacalc_embed_url = ‘http://instacalc.com/embed/?d=&c=MTAgaW5jaGVzIHRvIGNtfDE1MCBsYnMgaW4ga2d8MTAwIFVTRCBpbiBFVVJ8MTUgbXBoIGluIG1ldGVycy9zZWM&s=ssss&v=0.9';</script&gt;
    <script src=”http://instacalc.com/javascripts/embed.js”></script>

    <noscript><a href=”http://instacalc.com/?d=&c=MTAgaW5jaGVzIHRvIGNtfDE1MCBsYnMgaW4ga2d8MTAwIFVTRCBpbiBFVVJ8MTUgbXBoIGluIG1ldGVycy9zZWM&s=ssss&v=0.9″>calculation</a> powered by <a href=”http://instacalc.com”>InstaCalc Online Calculator</a></noscript>

    -Hope this one works…

  20. Bob Says:

    your cosine function in radians seems to be broken.

    According to instacalc:
    cos(0) rad = 57.29577951308

    sin works fine in rad though.

  21. James Socol Says:

    Large binary numbers (greater than dec 65535, 0b1111111111111111) seem to trip up the converter, for example:

    0b111111111111111110 = 262,144
    0b111111111111111111 = 262,144

    (See http://is.gd/jnLH)

    And bizarrely
    0b11111111111111100 = 131,068
    0b11111111111111101 = 131,068
    0b11111111111111110 = 131,070
    0b11111111111111111 = 131,072
    0b100000000000000000 = 131,072

    (See http://is.gd/jnNE)

  22. Horst Says:

    xor seems not to be working correctly.

    It’s doing multiplication instead of exclusive-or.

    So (4 xor 2)=16 instead of 6.

  23. Kris Says:

    Hiya,
    Instacalc is a great idea! Love it!

    I noticed a problem with ‘xor’… it actually seems to be raising to a power instead (and “23564 xor 24683 = Infinity” apparently, haha).

    Thanks
    Kris

  24. Pat Says:

    (Just noticed the bugs page)
    I think that instacalc has an issue with handling binary values. I’ve create a shared calc for you to check out: http://tinyurl.com/yzu3gve. Also, the Vista gadget seems to have the issue, but doesn’t give the same answers as the online calc (i.e. the answer to hex(0b00000000001000010000000000000000) is 0×00420008 in the gadget and 0×00210004 online – it should be 0×00420000 in both cases). I am running Windows 7 32-bit and Firefox 3.5.7.

  25. Daev Says:

    Cannot convert the speed “knots”.

  26. Piotr Says:

    Hi
    i like your site a lot an use it freqently
    one thing bothers me: xor – seems to be messed up
    try: ’0 xor 0′
    or: ’0 xor 1′ (compare to ’1 xor 0′)

    Thanks, and keep up good work

  27. Luca Says:

    Hi, probably a bug with big hex number:

    http://instacalc.com/?d=&c=MHgzRTAxMzIyMXxiaW4ocjEpfDBiMDExMTExMTAwMDAwMDAwMTAwMTEwMDEwMDAxMDAwMDEgLy9JJ3ZlIGNoYW5naGVkIG9ubHkgdGhlIHNlY29uZCBiaXQgZnJvbSBsZWZ0ICgwIHRvIDEpfGhleChyMykgLy91bmNvcnJlY3QhfGJpbihyNCkgLy9vbmx5IGZvciB0ZXN0IC0gd2hpdCByNCBjb3JyZWN0LCBpdCBtdXN0IGJlIHRoZSBzYW1lIG9mIHIzfGJpbigweDdlMDEzMjIxKS8vdGhpcyBpcyB0aGUgY29ycmVjdCByZXN1bHQgb2YgaGV4KHIzKSwgc28gYmluKCkgZnVuY3Rpb24gaXQncyBPS3x8fHx8fHx8fHx8fHx8fHw&s=ssssssssssssssssssssss&v=0.9

    bye,
    Luca

Leave a Reply