[OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

David T Lewis
 

VM 202004210425 (cog.spur 32-bit and 64-bit)

OS Windows 10 (Version 1909 Build 18363.778)

Today is -- obviously -- January 19 in the wonderful year of 586155. 😄

The primitive used in Time class >> #primPosixMicrosecondClockWithOffset: called primitiveUtcWithOffset returns strange information.

Works fine in VM 202003021730.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

David T Lewis
 

The first value returned by primPosixMicrosecondClockWithOffset looks like 0 - epochDelta \\ (1<<64) where epochDelta is the microseconds between Squeak epoch (1901) and unix epoch (1970).

IOW, it's like if ioUTCMicroseconds() is returning 0 or near 0...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619243445", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619243445", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

David T Lewis
In reply to this post by David T Lewis
 

Hmm, I might be guilty:

9d52fef

gonna check C precedence of operators...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619251069", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619251069", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

David T Lewis
In reply to this post by David T Lewis
 

bah, it's obviously 0, if only I used bitOr instead of bitAnd, it could have worked... Sorry


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619268108", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#issuecomment-619268108", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] primitiveUtcWithOffset broken (#488)

David T Lewis
In reply to this post by David T Lewis
 

Closed #488.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#event-3271675674", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/488#event-3271675674", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>