Skip to content

Releases: printfn/fend

Version 0.1.14

14 Feb 10:28
Compare
Choose a tag to compare

Changes in this version:

  • Add support for strings and string literals. They can be in single or double quotes, and support a variety of escape sequences.
  • Support conversions of numbers to strings
  • Use b as shorthand for bits (including e.g. Gb/s)
  • Remove the 0d number prefix

Version 0.1.13

19 Jan 20:28
Compare
Choose a tag to compare

Changes in this version:

  • Add °C and °F (including temperature conversions)
  • Automatically simplify units in some calculations (e.g. 100 km/hr * 36 seconds becomes 1 km)
  • Add initial support for objects (try e.g. mass of earth)
  • Add square and cubic functions
  • Add hectares and acres

Version 0.1.11

27 Nov 02:02
Compare
Choose a tag to compare

Changes in this version:

  • Improve debug representation (using e.g. !debug 1)
  • Use camel-case function names in fend-wasm

Version 0.1.10

23 Nov 07:22
Compare
Choose a tag to compare

Changes in this version:

  • Allow leading zeroes for decimal numbers
  • Allow upper-case "E" for exponential numbers (e.g. 1E3 is 1000)
  • Add in as an alias for to (so you can now write 3.14 in binary)
  • Add log() function as shorthand for log10()
  • Fix kWh unit definition

Version 0.1.9

06 Nov 10:01
Compare
Choose a tag to compare

Changes in this version:

  • Include LICENSE.md files as part of the package on crates.io

Version 0.1.8

06 Nov 05:59
Compare
Choose a tag to compare

Changes in this version:

  • Add 'version' command to get the current fend version
  • Support -sin pi and 3 sin pi without parentheses
  • Support function inverses: e.g. sin^-1 becomes asin
  • Add to sf to convert numbers to a fixed number of significant figures
  • Make many calculations involving sin and cos exact
  • Add tau (τ), equal to
  • Add Yi- and Zi- binary prefixes
  • Use decimal approximations instead of fractions by default
  • x to exact will now convert x to an exact representation whenever possible, including using multiples of π
  • Add cis as a shorthand for cos θ + i * (sin θ)

Version 0.1.7

14 Oct 03:10
Compare
Choose a tag to compare

Changes in this version:

  • Ensure that approximate numbers are always marked as such
  • Fix a bug involving sin/cos/tan of negative numbers
  • Make some calculations involving pi exact
  • Fix parsing of recurring decimals in bases other than 10
  • Add a changelog command to the command-line interface

Version 0.1.6

05 Oct 09:33
Compare
Choose a tag to compare

Changes in this version:

  • Support parsing of numbers with recurring digits (e.g. 0.(3) is equal to 1/3)
  • Support outputting mixed fractions (implicitly or via to mixed_fraction)
  • Support unmatched parentheses (e.g. 2+3)*(1+2 is 15)
  • Allow numbers that start with a decimal point, such as .1

Version 0.1.5

29 Sep 11:02
Compare
Choose a tag to compare

Changes in this version:

  • Add support for lambda functions (e.g. \x.x or (x: 2x) pi)
  • Add live CLI output
  • Change precedence of to, as and ->

Version 0.1.4

15 Sep 08:18
Compare
Choose a tag to compare

Changes in this version:

  • Add the GNU units database, which contains several thousand unit definitions
  • Add support for square roots of numbers with units
  • Add unary division as a shorthand for 1/x (e.g. / second, 64^/2)
  • Support + in exponential notation (e.g. 1.5e+2)
  • Allow , as a digit separator (e.g. 1,048,576)