~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/str2int.c

  • Committer: Stewart Smith
  • Date: 2008-09-25 10:04:06 UTC
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080925100406-hld92f4dr4nuar3a
Move compression functions (compress, uncompress and compressed_length) out into modules and fix test

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
      machines all, if +|n| is representable, so is -|n|, but on
78
78
      twos complement machines the converse is not true.  So the
79
79
      "maximum" representable number has a negative representative.
80
 
      Limit is set to cmin(-|lower|,-|upper|); this is the "largest"
 
80
      Limit is set to min(-|lower|,-|upper|); this is the "largest"
81
81
      number we are concerned with.     */
82
82
 
83
83
  /*  Calculate Limit using Scale as a scratch variable  */