Opened 7 weeks ago

Closed 6 weeks ago

#19453 closed enhancement (fixed)

libqalculate-5.0.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (3)

comment:1 by Bruce Dubbs, 6 weeks ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 6 weeks ago

Note that libqalculate version 5.0.0 is not binary compatible with previous versions (recompilation of dependent binaries is required).

As of this comment, the only package in BLFS that uses libqalculate is plasma-workspace on the plasma page.

Changes:

  • Detection of potential spelling mistakes (a warning will be shown)
  • Add support for n...m, j:k, and j:i:k syntax, for sequence of numbers, e.g. 1...3 = (1:3) = (1:1:3) = [1 2 3] (note that brackets may be required for colon syntax to avoid conflict with time format)
  • Improved "where" operator, including improved output of parsed expression, support for previously undefined variable names, and assignments before expression (e.g. "a=2, b=2, ab")
  • New units: LightSecond, LightMinute, and LightHour
  • New functions: bitget(), bitset(), setbits(), integerDigits(), digitGet(), digitSet(), flip(), colon(), and foreach()
  • More rounding methods
  • Support for hexadecimal floating-point literals using 0x...p... notation (0x1.4p3 = 0x1.4 * 23 = 10)
  • Add support for "decimals" "to"-conversion (display as decimal fraction)
  • Allow plot grid values higher than 1 (true) to specify line width
  • Improve handling of zero solution and initial guess in newtonsolve() and secantsolve(), and check validity of solution
  • Change handling a vectors in multiple function arguments (of non-vector type) - return vector instead of matrix, require equal number of elements, and use the same vector index for all arguments for each function instance (e.g. atan2([1 2], [3 4]) = [atan2(1, 3) atan(2 4)]
  • Set handle vector property by default, for text, date, and boolean arguments, and for arguments, in global non-builtin functions, without specified type, and enable parsing of vectors for text arguments
  • Do not apply "read precision" setting to integer exponents for values with units
  • Change from line to point (or dot) plot style for data with many discontinuous points
  • Use parentheses for number with scientific notation in more cases
  • lambertw(x*ex, 0)=x if x>=-1
  • Fix dsolve(diff(y, x) = y), and similar
  • Fix log(1, 1) (undefined)
  • Fix "to"-conversion to prefix and add "prefix" conversion option (for optimal prefix)
  • Fix segfault in newtonsolve() and secantsolve() when equation does not contain variable
  • Fix conversion to angle unit for complex angle, cis and polar forms
  • Exchange rates fixes
  • Option to show scientific notation using 10x, instead of E-notation
  • Add settings for two's complement input (short settings "twosin" and "hextwosin"), and default number of bits ("bits")
  • Add "keep" command, for making variables and functions non-temporary
  • Allow multiple options, separated by semicolon, with a single --set (-s) command line argument
  • Show error messages for command without argument, if not a reasonable expression, even if "/" is not used
  • Exit with error status code if command line expression generates error
  • Fix -no... command line options when using double dash, e.g. "--nocurrencies"
  • Minor bug fixes and feature enhancements

comment:3 by Bruce Dubbs, 6 weeks ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

9a96475776 Update to libqalculate-5.0.0.
f5b2c6cae1 Update to jasper-4.2.2.
d7d659d60a Update to tcsh-6.24.11.
Note: See TracTickets for help on using tickets.