Skip to content

Conversation

@obastemur
Copy link
Collaborator

@obastemur obastemur commented May 3, 2016

This PR enables DateTime

// and tagged float now has top 14 XOR'd with 1s - the value with 14 bits non zero is
// a float.
// A float can have all 14 bits 0 iff it was a NaN in the first place. Since
// A float can have all 14 bits 0 if it was a NaN in the first place. Since
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"iff" means "if and only if" -- is that not correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh looked like a typo instead. wanted to fix it on the way.

reverted this back. PR is updated.

@dilijev
Copy link
Contributor

dilijev commented May 4, 2016

LGTM but wait for another sign off as well.

// bring it inline with a time server.
double HiResTimer::GetAdjustFactor()
{
#ifndef _MSC_VER
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be OS dependent instead of compiler dependent?

@digitalinfinity
Copy link
Contributor

LGTM as well, but echo @curtisman's comments

@obastemur
Copy link
Collaborator Author

PR is updated. @dilijev @curtisman @digitalinfinity thanks for the review

@digitalinfinity
Copy link
Contributor

@dotnet-bot test this please

@jianchun
Copy link

jianchun commented May 6, 2016

@dotnet-bot test Ubuntu ubuntu_linux_debug please
@dotnet-bot test Ubuntu ubuntu_linux_release please
@dotnet-bot test Windows arm_test please

@obastemur obastemur changed the title cross platform: Enable HiResTimer cross platform: Enable DateTime May 6, 2016
@obastemur obastemur closed this May 12, 2016
chakrabot pushed a commit that referenced this pull request May 25, 2016
Merge pull request #975 from obastemur:date_work
- Implements DateTime support Cross-Platform
- Redesigns DaylightHelper and Date utilities
- Replaces #915
@obastemur obastemur deleted the date_now branch June 7, 2016 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants