Diff for /parser3/src/classes/math.C between versions 1.110 and 1.112

version 1.110, 2025/08/31 18:46:29 version 1.112, 2026/04/25 13:38:46
Line 1 Line 1
 /** @file  /** @file
         Parser: @b math parser class.          Parser: @b math parser class.
   
         Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com)          Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com)
         Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>          Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru>
   
         portions from gen_uuid.c,          portions from gen_uuid.c,
Line 112  MATH2(pow) Line 112  MATH2(pow)
 MATH2(atan2)  MATH2(atan2)
   
 static inline uint64_t ulp_key_double(double x) {  static inline uint64_t ulp_key_double(double x) {
         union { double d; uint64_t u; } v = { .d = x};          union { double d; uint64_t u; } v; v.d = x;
         return (v.u & (1ull << 63)) ? (~v.u + 1ull) : (v.u | (1ull << 63));          return (v.u & (1ull << 63)) ? (~v.u + 1ull) : (v.u | (1ull << 63));
 }  }
   

Removed from v.1.110  
changed lines
  Added in v.1.112


E-mail: