1. 05 Sep, 2018 1 commit
    • Marco Trevisan's avatar
      number: add support for parsing integer literals · ad3b8d0a
      Marco Trevisan authored
      Make possible to use integer literals to use numbers with base other than the
      decimal without having to use the sub-fixed syntax.
      
      So, now calculator recognizes numbers such as:
        - 0b10000001 and 0B01111110 (binary)
        - 0xdeadbeef and 0XBAADA555 (hex)
        - 0o01234567 and 0O76543210 and 01234543210 (octal)
      
      And thus all the fancy operations like "0xff in dec" can be done now.
      
      Added various tests to check the new behavior, and nothing broke for the old
      cases.
      
      Fixes #36
      ad3b8d0a
  2. 10 May, 2015 1 commit
    • Michael Catanzaro's avatar
      Split many math backend into libcalculator convenience library · 2b2127ea
      Michael Catanzaro authored
      This creates a clearer separation between the files that can use GTK+
      (those not used by gcalccmd), avoids compiling files multiple times, and
      sets the stage for the search provider to use libcalculator as a private
      shared library rather than running the gnome-calculator binary and
      parsing the output.
      2b2127ea
  3. 13 Jan, 2014 1 commit
  4. 08 Jan, 2013 1 commit
  5. 11 Dec, 2012 1 commit