Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.sinclair > #154

Re: Conversion of ISO Date-stamps into Weekday Numbers

From lachman@ebony.ppc.ubc.ca (Milton Lachman)
Newsgroups comp.sys.sinclair
Subject Re: Conversion of ISO Date-stamps into Weekday Numbers
Date 2011-04-12 18:08 +0000
Organization Pulp and Paper Centre
Message-ID <io24f9$r6g$1@speranza.aioe.org> (permalink)
References <in0clr$ckj$1@speranza.aioe.org>

Show all headers | View raw


>   From: lachman@ebony.ppc.ubc.ca (Milton Lachman)
>>> spike1@freenet.co.uk writes:
>>Has MOD iirc, but can't remember if it has DIV (which is pretty pointless
>>really as  INT(x/y) would do just as well.

Seeing how you have clock cycles to burn, why even bother w/INT when
you can precalculate the 1st term as temp%=s$/40000, and thereby obviate the
2nd INT as well?

otherwise...
>It's not pointless, since x/y would be evaluated as FP. DIV is faster.
>I'd have used Hans' constants for a FP method.

But due to the dynamic resizing of string variables, I'd still have to
append a "1" before 93.

Back to comp.sys.sinclair | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Conversion of ISO Date-stamps into Weekday Numbers Guesser <alistair@alistairsserver.no-ip.org> - 2011-03-29 19:38 +0100
  Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-29 22:26 +0100
    Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-30 10:57 +0100
      Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-30 18:50 +0100
        Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-30 19:27 +0100
          Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca - 2011-03-31 05:18 +0000
            Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-31 10:55 +0100
              Re: Conversion of ISO Date-stamps into Weekday Numbers spike1@freenet.co.uk - 2011-03-31 17:10 +0100
                Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-03-31 17:31 +0100
              Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-01 16:24 +0000
                Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-04-01 18:17 +0100
                Re: Conversion of ISO Date-stamps into Weekday Numbers Richard Kettlewell <rjk@greenend.org.uk> - 2011-04-01 18:22 +0100
                Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-07 18:18 +0000
        Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-03-30 23:00 +0000
          Re: Conversion of ISO Date-stamps into Weekday Numbers Guesser <alistair@alistairsserver.no-ip.org> - 2011-03-31 00:38 +0100
          Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-04-12 18:08 +0000
  Re: Conversion of ISO Date-stamps into Weekday Numbers lachman@ebony.ppc.ubc.ca (Milton Lachman) - 2011-03-30 22:39 +0000

csiph-web