NUM   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm

Implementation

;; (bind-val NUM_f32 NUM{float}* (NUM num_f32_plus num_f32_minus num_f32_mul num_f32_div))
(bind-func NUM
  (lambda (a:float)
    (let ((obj:NUM{float}* (alloc)))
      (tfill! obj num_f32_plus num_f32_minus num_f32_mul num_f32_div a)
      obj)))


Back to Index

Similar Entries

  • NUM    xtlang
  • NUM    xtlang
  • NUM    xtlang
  • first_n_weird_numbers    xtlang
  • get_LCG_Pseudorandom_Number    xtlang
  • impc:compiler:print-bad-numeric-value-error    scheme
  • impc:ir:compiler:num-of-elts    scheme
  • impc:ir:number?    scheme
  • impc:ti:num-of-elts-check    scheme
  • impc:ti:numeric-cast-operator    scheme
  • impc:ti:numeric-check    scheme
  • match-number    scheme
  • max_slide_num    xtlang
  • num_f32_div    xtlang
  • num_f32_div    xtlang
  • num_f32_minus    xtlang
  • num_f32_minus    xtlang
  • num_f32_mul    xtlang
  • num_f32_mul    xtlang
  • num_f32_plus    xtlang
  • num_f32_plus    xtlang
  • num_f64_div    xtlang
  • num_f64_div    xtlang
  • num_f64_minus    xtlang
  • num_f64_minus    xtlang
  • num_f64_mul    xtlang
  • num_f64_mul    xtlang
  • num_f64_plus    xtlang
  • num_f64_plus    xtlang
  • num_i32_div    xtlang
  • num_i32_div    xtlang
  • num_i32_minus    xtlang
  • num_i32_minus    xtlang
  • num_i32_mul    xtlang
  • num_i32_mul    xtlang
  • num_i32_plus    xtlang
  • num_i32_plus    xtlang
  • num_i64_div    xtlang
  • num_i64_div    xtlang
  • num_i64_minus    xtlang
  • num_i64_minus    xtlang
  • num_i64_mul    xtlang
  • num_i64_mul    xtlang
  • num_i64_plus    xtlang
  • num_i64_plus    xtlang
  • number->string    scheme
  • scientific-pitch-notation-to-midi-number    scheme
  • string->number    scheme
  • svm_num_elements    xtlang
  • t:number?    scheme
  • xtm_path_num_segments    xtlang