Skip to content

Instantly share code, notes, and snippets.

@alexeyr
Created January 12, 2011 15:04
Show Gist options
  • Save alexeyr/776256 to your computer and use it in GitHub Desktop.
Save alexeyr/776256 to your computer and use it in GitHub Desktop.
/usr/local/lib/erlang/lib/percept-0.8.4/src/percept_html.erl
660: case string:to_float(Value) of
/usr/local/lib/erlang/lib/edoc-0.7.6.7/src/edoc_scanner.erl
300:%% characters and then use list_to_integer/1 or list_to_float/1 to
331: case catch list_to_float(reverse(Ncs)) of
349: case catch list_to_float(reverse(Ncs)) of
/usr/local/lib/erlang/lib/xmerl-1.2.6/src/xmerl_xpath_scan.erl
263: Number = list_to_float(Digits),
267: Number = list_to_float(Digits),
/usr/local/lib/erlang/lib/xmerl-1.2.6/src/xmerl_xsd_type.erl
1076: F1={S1,_B1,_D1,_E1} = str_to_float(Str1),
1077: F2={S2,_B2,_D2,_E2} = str_to_float(Str2),
1111:str_to_float(String) ->
1529: list_to_float(Sec);
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_ssa.erl
94: hipe_icode:mk_primop([Dst], conv_to_float, [Src])
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_primops.erl
67:%% is_safe(conv_to_float) -> false;
164:fails(conv_to_float) -> true;
458: conv_to_float ->
802: conv_to_float ->
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_fp.erl
227: X when X =:= unsafe_untag_float orelse X =:= conv_to_float ->
551: X when X =:= conv_to_float; X =:= unsafe_untag_float ->
891: [hipe_icode:mk_primop([Dst], conv_to_float, [Var])]
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_range.erl
1176:basic_type(conv_to_float) -> not_int;
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_type.erl
1179: conv_to_float ->
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_beam_to_icode.erl
1029: [hipe_icode:mk_primop([Dst], conv_to_float, [Src],
/usr/local/lib/erlang/lib/hipe-3.7.7/icode/hipe_icode_ssa_const_prop.erl
282: conv_to_float ->
523: conv_to_float -> true;
/usr/local/lib/erlang/lib/hipe-3.7.7/rtl/hipe_rtl_primops.erl
375: conv_to_float ->
378: gen_conv_to_float(hipe_rtl:mk_new_fpreg(), Args, Cont, Fail);
380: gen_conv_to_float(Dst1, Args, Cont, Fail)
1218:gen_conv_to_float(Dst, [Src], ContLbl, FailLbl) ->
1249: [hipe_rtl:mk_call([Tmp], conv_big_to_float, [Src],
/usr/local/lib/erlang/lib/hipe-3.7.7/cerl/erl_bif_types.erl
1120:type(erlang, list_to_float, 1, Xs) ->
1121: strict(arg_types(erlang, list_to_float, 1), Xs, fun (_) -> t_float() end);
2848:type(string, to_float, 1, Xs) ->
2849: strict(arg_types(string, to_float, 1), Xs,
3724:arg_types(erlang, list_to_float, 1) ->
4542:arg_types(string, to_float, 1) ->
/usr/local/lib/erlang/lib/erl_interface-3.7.1/src/legacy/erl_marshal.c
70:static INLINE double to_float(long l);
1734:static INLINE double to_float(long l)
1802: f1 = to_float(l1);
/usr/local/lib/erlang/lib/observer-0.9.8.3/src/crashdump_viewer.erl
2347: Term = list_to_float(Chars),
/usr/local/lib/erlang/lib/observer-0.9.8.3/src/crashdump_viewer_html.erl
1341: {list_to_float(lists:reverse(Acc)),In,Insrt};
/usr/local/lib/erlang/lib/debugger-3.2.4/src/dbg_iload.erl
612:bif_type(list_to_float) -> safe;
/usr/local/lib/erlang/lib/ic-4.2.25/src/iceval.erl
319:eval_e(_G, _S, _N, _Tk, {'<floating_pt_literal>', _Line, X}) -> to_float(X);
384:%% list_to_float BIF differs from IDL floats. "1e2" ".4e2" is
387:to_float(X) ->
388: list_to_float(erlangify(X)).
/usr/local/lib/erlang/lib/cosNotification-1.1.14/src/cosNotification_Scanner.erl
176:%% list_to_float(".2") and list_to_float("0.2") eq. list_to_float("00.2")).
178: scan(Str, Line, [{'num', list_to_float([$0|lists:reverse(Accum)])} | Out], Type).
188:%% list_to_float(".2")).
190: scan(Str, Line, [{'num', list_to_float([$0|lists:reverse(Accum)])} | Out], Type).
/usr/local/lib/erlang/lib/gs-1.5.13/src/tcl2erl.erl
218: Float = list_to_float(lists:reverse(Ack1)),
/usr/local/lib/erlang/lib/tools-2.6.6.1/emacs/erlang.el
755: "list_to_float"
/usr/local/lib/erlang/lib/inets-5.5/src/http_server/mod_browser.erl
130: case catch list_to_float(VsnString) of
141: list_to_float(Number++".0");
143: list_to_float(Major++"."++Minor)
215: list_to_float(Number++".0");
218: list_to_float(V)
/usr/local/lib/erlang/lib/stdlib-1.17.1/src/io_lib_format.erl
356:%% to Float when read back with list_to_float/1.
/usr/local/lib/erlang/lib/stdlib-1.17.1/src/erl_internal.erl
301:bif(list_to_float, 1) -> true;
438:old_bif(list_to_float, 1) -> true;
/usr/local/lib/erlang/lib/stdlib-1.17.1/src/eval_bits.erl
182: NewV = coerce_to_float(V, Type),
236: NewV = coerce_to_float(V, Type),
242:coerce_to_float({integer,L,I}=E, float) ->
249:coerce_to_float(E, _Type) ->
/usr/local/lib/erlang/lib/stdlib-1.17.1/src/io_lib_fread.erl
258: case catch list_to_float(fread_skip_white(reverse(Cs))) of
/usr/local/lib/erlang/lib/stdlib-1.17.1/src/erl_scan.erl
1148: case catch list_to_float(Ncs) of
/usr/local/lib/erlang/lib/compiler-4.7.1/src/sys_pre_expand.erl
563: Expr = coerce_to_float(Expr1, Type0),
584:coerce_to_float({integer,L,I}=E, [float|_]) ->
591:coerce_to_float(E, _) -> E.
/usr/local/lib/erlang/lib/compiler-4.7.1/src/erl_bifs.erl
101:is_pure(erlang, list_to_float, 1) -> true;
/usr/local/lib/erlang/lib/compiler-4.7.1/src/core_scan.erl
388:%% characters and then use list_to_integer/1 or list_to_float/1 to
441: case catch list_to_float(reverse(Ncs)) of
459: case catch list_to_float(reverse(Ncs)) of
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment