What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Calculator (v1.20.011)

[Release] Calculator (v1.20.011)
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Pre-Release] Calculator
quote:
Originally posted by Shondoit
For the functionality
Something like:
-hF*hF + h100 = h1
(It's no problem if this it implemented, is it?)

But he already got it to work...

it depends on what you mean with the negative sign. Normally a negative sign is part of the number (negative number) if used alone, not part of the calculation. Hence why you shouldn't do: -hF and interpret that as:
- convert hF to 15
- make 15 negative

The "make x negative" should come before "convert x to y", not before! Hence why negative hexadecimal/octal/binary numbers don't exist.

A hexadecimal number produces a negative decimal number if that hexadecimal number wraps around the edge you have defined for the hexadecimal environment.

If you want -15 in hexadecimal it should be hFE or hFFFE or hFFFFFFFE or hFFFFFFFFFFFFFFFE, depending on the range...

btw: "-hF*hF + h100 = h1" is wrong, it should be "h1F"

----------------

To give a better example of why you can't do all that: you will find it even more complex when you're dealing with floating points. Again, you can't do "hF.EF" as that does not exist, almost the same goes for the use of the sign.

----------------

(can't explain this too well, someone else?)
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-03-2006 06:56 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Calculator (v1.20.011) - by Matti on 09-29-2006 at 09:58 AM
RE: [WIP] Calculator - by Spunky on 09-29-2006 at 11:22 AM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 12:33 PM
RE: [WIP] Calculator - by markee on 09-29-2006 at 02:17 PM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 04:43 PM
RE: [WIP] Calculator - by Chris4 on 09-29-2006 at 06:30 PM
RE: [WIP] Calculator - by Matti on 09-29-2006 at 06:39 PM
RE: [WIP] Calculator - by WDZ on 09-29-2006 at 06:51 PM
RE: RE: [WIP] Calculator - by Chris4 on 09-29-2006 at 06:53 PM
RE: RE: RE: [WIP] Calculator - by Jimbo on 09-29-2006 at 06:58 PM
RE: [WIP] Calculator - by prashker on 09-29-2006 at 06:56 PM
RE: [WIP] Calculator - by Chancer on 09-29-2006 at 07:50 PM
RE: [WIP] Calculator - by vaccination on 09-29-2006 at 11:35 PM
RE: [WIP] Calculator - by phalanxii on 09-30-2006 at 12:39 AM
RE: [WIP] Calculator - by alexp2_ad on 09-30-2006 at 12:43 AM
RE: [WIP] Calculator - by NanaFreak on 09-30-2006 at 01:02 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 10:39 AM
RE: [WIP] Calculator - by Jimbo on 09-30-2006 at 10:40 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 10:45 AM
RE: RE: [WIP] Calculator - by Jimbo on 09-30-2006 at 10:48 AM
RE: [WIP] Calculator - by Matti on 09-30-2006 at 11:40 AM
RE: [WIP] Calculator - by NanaFreak on 09-30-2006 at 12:55 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 01:10 PM
RE: [Pre-Release] Calculator - by Felu on 09-30-2006 at 01:42 PM
RE: [Pre-Release] Calculator - by duck! on 09-30-2006 at 01:47 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 01:49 PM
RE: [Pre-Release] Calculator - by alexp2_ad on 09-30-2006 at 03:35 PM
RE: [Pre-Release] Calculator - by Lourix on 09-30-2006 at 03:39 PM
RE: [Pre-Release] Calculator - by Matti on 09-30-2006 at 03:39 PM
RE: [Pre-Release] Calculator - by Shondoit on 09-30-2006 at 07:35 PM
RE: [Pre-Release] Calculator - by Spunky on 09-30-2006 at 07:45 PM
RE: [Pre-Release] Calculator - by Andrew_H on 09-30-2006 at 08:25 PM
RE: [Pre-Release] Calculator - by Spunky on 09-30-2006 at 08:31 PM
RE: [Pre-Release] Calculator - by davidpolitis on 09-30-2006 at 09:24 PM
RE: [Pre-Release] Calculator - by Zahid™ on 09-30-2006 at 09:32 PM
RE: [Pre-Release] Calculator - by vaccination on 09-30-2006 at 11:33 PM
RE: [Pre-Release] Calculator - by phalanxii on 10-01-2006 at 12:32 AM
RE: [Pre-Release] Calculator - by Matti on 10-02-2006 at 05:03 PM
RE: RE: [Pre-Release] Calculator - by CookieRevised on 10-02-2006 at 05:54 PM
RE: [Pre-Release] Calculator - by Matti on 10-03-2006 at 03:56 PM
RE: [Pre-Release] Calculator - by CookieRevised on 10-03-2006 at 06:40 PM
RE: [Pre-Release] Calculator - by Shondoit on 10-03-2006 at 06:44 PM
RE: [Pre-Release] Calculator - by CookieRevised on 10-03-2006 at 06:56 PM
RE: [Pre-Release] Calculator - by Matti on 10-04-2006 at 07:57 AM
RE: [Pre-Release] Calculator - by phalanxii on 10-05-2006 at 10:27 AM
RE: [Pre-Release] Calculator - by Matti on 10-05-2006 at 05:54 PM
RE: [Release] Calculator (v1.20.011) - by Matti on 12-20-2006 at 10:16 AM
RE: [Release] Calculator (v1.20.011) - by Plan-1130 on 02-09-2008 at 04:43 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On