Giter VIP home page Giter VIP logo

like2015's Introduction

  • 👋 Hi, I’m @jrmwng
  • 👀 I’m interested in Pokémon GO
  • 🌱 I’m currently learning Pokémon GO
  • 💞️ I’m looking to collaborate on Pokémon GO
  • 📫 You may reach me by IG: @jrmwng1980

like2015's People

Contributors

jrmwng avatar

Stargazers

 avatar

Watchers

 avatar  avatar

like2015's Issues

xmm_int32_q

fixed-pointer number

xmm_int32_q<4, 16, 30> xmmQ(1.0F/16.0F, 1.0F/65536.0F, 1.0F/(1024.0F * 1024.0F * 1024.0F));

assert(get_int<0>(xmmQ) == 1); // Q28.4
assert(get_int<1>(xmmQ) == 1); // Q16.16
assert(get_int<2>(xmmQ) == 1); // Q2.30

assert(get_float<0>(xmmQ) == 1.0F / 16.0F);
assert(get_float<1>(xmmQ) == 1.0F / 65536.0F);
assert(get_float<2>(xmmQ) == 1.0F / (1024.0F * 1024.0F * 1024.0F));

pointer arithmetic of xmm_ptr

For example,

typedef like::xmm_ptr<unsigned char const, short> ptr_type;

ptr_type xmmPtr(pInput, pOutput);

xmmPtr += ptr_type(16, 16);

xmm_float32

single precision floating-point number

xmm_float32<3> xmmFloat(1.0F, 1.2F, 1.23F);

assert(get_float<0>(xmmFloat) == 1.0F);
assert(get_float<1>(xmmFloat) == 1.2F);
assert(get_float<2>(xmmFloat) == 1.23F);

xmm_int32 operators

operator int
operator =
operator +=
operator +
operator -=
operator -
operator *=
operator *
operator /=
operator /
operator &=
operator &
operator |=
operator |
operator ^=
operator ^
operator ==
operator !=
operator <=
operator <
operator >=
operator >

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.