| 288 | } |
| 289 | |
| 290 | std::shared_ptr<Array> RandomArrayGenerator::Float32(int64_t size, float min, float max, |
| 291 | double null_probability, |
| 292 | double nan_probability, |
| 293 | int64_t alignment, |
| 294 | MemoryPool* memory_pool) { |
| 295 | using OptionType = |
| 296 | GenerateOptions<float, ::arrow::random::uniform_real_distribution<float>>; |
| 297 | OptionType options(seed(), min, max, null_probability, nan_probability); |
| 298 | return GenerateNumericArray<FloatType, OptionType>(size, options, alignment, |
| 299 | memory_pool); |
| 300 | } |
| 301 | |
| 302 | std::shared_ptr<Array> RandomArrayGenerator::Float64(int64_t size, double min, double max, |
| 303 | double null_probability, |