Home
last modified time | relevance | path

Searched refs:as_int (Results 1 – 25 of 33) sorted by relevance

12

/third_party/jerryscript/jerry-libm/
Dcbrt.c51 sign = temp.as_int.hi & 0x80000000; /* sign = sign(x) */ in cbrt()
52 temp.as_int.hi ^= sign; in cbrt()
54 if (temp.as_int.hi >= 0x7ff00000) in cbrt()
59 if ((temp.as_int.hi | temp.as_int.lo) == 0) in cbrt()
65 if (temp.as_int.hi < 0x00100000) /* subnormal number */ in cbrt()
67 t.as_int.hi = 0x43500000; /* set t= 2**54 */ in cbrt()
69 t.as_int.hi = t.as_int.hi / 3 + B2; in cbrt()
73 t.as_int.hi = temp.as_int.hi / 3 + B1; in cbrt()
82 t.as_int.lo = 0; in cbrt()
83 t.as_int.hi += 0x00000001; in cbrt()
[all …]
Dpow.c301 t1.as_int.lo = 0; in pow()
315 ix = ax.as_int.hi; in pow()
335 ax.as_int.hi = ix; in pow()
342 s_h.as_int.lo = 0; in pow()
345 t_h.as_int.hi = ((ix >> 1) | 0x20000000) + 0x00080000 + (k << 18); in pow()
354 t_h.as_int.lo = 0; in pow()
361 p_h.as_int.lo = 0; in pow()
368 t1.as_int.lo = 0; in pow()
374 y1.as_int.lo = 0; in pow()
378 j = z.as_int.hi; in pow()
[all …]
Dnextafter.c58 ret.as_int.hi = hy & 0x80000000; /* return +-minsubnormal */ in nextafter()
59 ret.as_int.lo = 1; in nextafter()
126 ret.as_int.hi = hx; in nextafter()
127 ret.as_int.lo = lx; in nextafter()
132 ret.as_int.hi = hx; in nextafter()
133 ret.as_int.lo = lx; in nextafter()
Datanh.c59 hx = temp.as_int.hi; in atanh()
63 if ((ix | ((unsigned int) (temp.as_int.lo | (-temp.as_int.lo)) >> 31)) > 0x3ff00000) in atanh()
77 temp.as_int.hi = ix; in atanh()
Dlog1p.c162 hu = u.as_int.hi; in log1p()
170 hu = u.as_int.hi; in log1p()
185 u.as_int.hi = hu | 0x3ff00000; /* normalize u */ in log1p()
190 u.as_int.hi = hu | 0x3fe00000; /* normalize u/2 */ in log1p()
Dexpm1.c243 twopk.as_int.hi = 0x3ff00000 + ((unsigned int) k << 20); /* 2^k */ in expm1()
244 twopk.as_int.lo = 0; in expm1()
279 t.as_int.hi = (0x3ff00000 - (0x200000 >> k)); /* t=1-2^-k */ in expm1()
285 t.as_int.hi = ((0x3ff - k) << 20); /* 2^-k */ in expm1()
Dfmod.c207 ret.as_int.hi = hx | sx; in fmod()
208 ret.as_int.lo = lx; in fmod()
228 ret.as_int.hi = hx | sx; in fmod()
229 ret.as_int.lo = lx; in fmod()
Dfloor.c127 ret.as_int.hi = i0; in floor()
128 ret.as_int.lo = i1; in floor()
Dceil.c128 ret.as_int.hi = i0; in ceil()
129 ret.as_int.lo = i1; in ceil()
Dtrig.c581 z.as_int.lo = __LO (x); in __ieee754_rem_pio2()
583 z.as_int.hi = ix - (e0 << 20); in __ieee754_rem_pio2()
738 qx.as_int.hi = ix - 0x00200000; /* x / 4 */ in __kernel_cos()
739 qx.as_int.lo = 0; in __kernel_cos()
825 z.as_int.lo = 0; in __kernel_tan()
828 t.as_int.lo = 0; in __kernel_tan()
880 z.as_int.lo = 0; in __kernel_tan()
883 t.as_int.lo = 0; in __kernel_tan()
Dscalbn.c75 ret.as_int.hi = (hx & 0x800fffff) | (k << 20); in scalbn()
92 ret.as_int.hi = (hx & 0x800fffff) | (k << 20); in scalbn()
Djerry-libm-internal.h59 } as_int; member
72 } as_int; member
Dexp.c200 ret.as_int.hi += (((unsigned int) k) << 20); /* add k to y's exponent */ in exp()
205 ret.as_int.hi += ((k + 1000) << 20); /* add k to y's exponent */ in exp()
Dsqrt.c238 ret.as_int.hi = ix0; in sqrt()
239 ret.as_int.lo = ix1; in sqrt()
Dlog2.c90 temp.as_int.hi = hx | (i ^ 0x3ff00000); /* normalize x or x/2 */ in log2()
136 temp.as_int.lo = 0; in log2()
Dfabs.c38 ret.as_int.hi &= 0x7fffffff; in fabs()
Dcopysign.c39 ret.as_int.hi = (__HI (x) & 0x7fffffff) | (__HI (y) & 0x80000000); in copysign()
Dlog10.c107 temp.as_int.hi = hx; in log10()
Datan2.c189 z.as_int.hi ^= 0x80000000; in atan2()
Dlog.c128 temp.as_int.hi = hx | (i ^ 0x3ff00000); /* normalize x or x / 2 */ in log()
Dasin.c123 w.as_int.lo = 0; in asin()
/third_party/boost/boost/date_time/
Dadjust_functors.hpp75 day_type resultingEndOfMonthDay(cal_type::end_of_month_day(year, wi.as_int())); in get_offset()
78 return date_type(year, wi.as_int(), resultingEndOfMonthDay) - d; in get_offset()
84 return date_type(year, wi.as_int(), dayOfMonth) - d; in get_offset()
102 day_type resultingEndOfMonthDay(cal_type::end_of_month_day(year, wi.as_int())); in get_neg_offset()
105 return date_type(year, wi.as_int(), resultingEndOfMonthDay) - d; in get_neg_offset()
111 return date_type(year, wi.as_int(), dayOfMonth) - d; in get_neg_offset()
Dwrapping_int.hpp40 BOOST_CONSTEXPR int_type as_int() const {return value_;} in as_int() function in boost::date_time::wrapping_int
114 BOOST_CONSTEXPR int_type as_int() const {return value_;} in as_int() function in boost::date_time::wrapping_int2
Dtime_system_split.hpp185 time_duration_type(0,0,0,day_offset.as_int())); in subtract_time_duration()
203 time_duration_type(0,0,0,day_offset.as_int())); in add_time_duration()
/third_party/alsa-lib/src/pcm/
Dpcm_route.c54 int as_int; member
291 } else if (nsrcs == 1 && src_tt[0].as_int == SND_PCM_PLUGIN_ROUTE_RESOLUTION) { in snd_pcm_route_convert1_many()
341 sum.as_sint64 += (int64_t) sample * ttp->as_int; in snd_pcm_route_convert1_many()
344 if (ttp->as_int) in snd_pcm_route_convert1_many()
352 if (ttp->as_int) in snd_pcm_route_convert1_many()
708 …snd_output_printf(out, "%d*%g", s->channel, (double)s->as_int / (double)SND_PCM_PLUGIN_ROUTE_RESOL… in snd_pcm_route_dump()
966 srcs[nsrcs].as_int = (v == SND_PCM_PLUGIN_ROUTE_FULL ? SND_PCM_PLUGIN_ROUTE_RESOLUTION : 0); in route_load_ttable()
970 srcs[nsrcs].as_int = v; in route_load_ttable()

12