<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of the distribution and at
// http://projectchrono.org/license-chrono.txt.
//
// =============================================================================
// Authors: <NAME>
// =============================================================================
//
// Description: SSE and normal implementation of a 3D vector
// =============================================================================

#ifndef REAL3_H
#define REAL3_H

#include "chrono_parallel/ChParallelDefines.h"
#include "chrono_parallel/math/real.h"
#include "chrono_parallel/math/real2.h"

#define R3  real3
#define ZERO_VECTOR R3(0)

#ifdef ENABLE_SSE
static const __m128 SIGNMASK = _mm_castsi128_ps(_mm_set1_epi32(0x80000000));
#endif

class CHRONO_ALIGN_16 real3 {
 public:
   union {
      struct {
         real x, y, z;
      };
      real array[3];
#ifdef ENABLE_SSE
      __m128 mmvalue;
#endif
   };<commit_msg>algorithm is needed to define std::max and std::min on windows<commit_after>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of the distribution and at
// http://projectchrono.org/license-chrono.txt.
//
// =============================================================================
// Authors: <NAME>
// =============================================================================
//
// Description: SSE and normal implementation of a 3D vector
// =============================================================================

#ifndef REAL3_H
#define REAL3_H

#include <algorithm>

#include "chrono_parallel/ChParallelDefines.h"
#include "chrono_parallel/math/real.h"
#include "chrono_parallel/math/real2.h"

#define R3  real3
#define ZERO_VECTOR R3(0)

#ifdef ENABLE_SSE
static const __m128 SIGNMASK = _mm_castsi128_ps(_mm_set1_epi32(0x80000000));
#endif

class CHRONO_ALIGN_16 real3 {
 public:
   union {
      struct {
         real x, y, z;
      };
      real array[3];
#ifdef ENABLE_SSE
      __m128 mmvalue;
#endif
   };
{'fraction_non_alphanumeric': 0.33042443474811584, 'fraction_numerical': 0.029353431178103927, 'mean_word_length': 4.642058165548098, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '126239', 'n_tokens_mistral': 761, 'n_tokens_neox': 690, 'n_words': 195}