~ubuntu-branches/ubuntu/natty/mathomatic/natty

« back to all changes in this revision

Viewing changes to super.c

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-05-27 23:29:55 UTC
  • mfrom: (1.1.26 upstream) (3.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20100527232955-xzvvnwdzy8c9mdji
Tags: 15.1.1-1
* New upstream release
* debian/patches/10_fix_makefile.dpatch
  - updated to new upstream code
* debian/patches/30_bts-459093_ftbfs_make_test_time.dpatch
  - updated to new upstream code

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
}
96
96
 
97
97
/*
98
 
 * Group denominators together in an equation side.
 
98
 * Group denominators of algebraic fractions together in an equation side.
99
99
 * Grouping here means converting "a/b/c/d*e" to "a*e/(b*c*d)" or "a/(b*c*d)*e".
100
100
 * Not guaranteed to put the grouped divisors last, reorder() puts divisors last.
101
101
 */
109
109
 
110
110
/*
111
111
 * Make equation side ready for display.
112
 
 * Converts non-integer constants in an equation side to fractions,
 
112
 * Basically simplify, then convert non-integer constants in an equation side to fractions,
113
113
 * when exactly equal to simple fractions.
 
114
 * Also groups algebraic fraction denominators with group_proc() above.
114
115
 *
115
116
 * Return true if any fractions were created.
116
117
 */